Skip to content

Commit

Permalink
Fix sip
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 8, 2020
1 parent 82cc5a1 commit bcbfc5e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Expand Up @@ -25,6 +25,9 @@ how an individual QgsMapLayer behaves in a temporal context, e.g. while animatin

%TypeHeaderCode
#include "qgsmaplayertemporalproperties.h"
#include "qgsrasterlayertemporalproperties.h"
#include "qgsmeshlayertemporalproperties.h"
#include "qgsvectorlayertemporalproperties.h"
%End
%ConvertToSubClassCode
if ( qobject_cast<QgsRasterLayerTemporalProperties *>( sipCpp ) )
Expand Down
6 changes: 6 additions & 0 deletions src/core/qgsmaplayertemporalproperties.h
Expand Up @@ -41,6 +41,12 @@ class QgsDataProviderTemporalCapabilities;
*/
class CORE_EXPORT QgsMapLayerTemporalProperties : public QgsTemporalProperty
{
#ifdef SIP_RUN
#include "qgsrasterlayertemporalproperties.h"
#include "qgsmeshlayertemporalproperties.h"
#include "qgsvectorlayertemporalproperties.h"
#endif

Q_OBJECT

#ifdef SIP_RUN
Expand Down

0 comments on commit bcbfc5e

Please sign in to comment.