Skip to content
Permalink
Browse files

Reinstate symbol layer registry sip stuff

  • Loading branch information
timlinux committed Sep 24, 2012
1 parent 4f2d9db commit ee515bd98962efd86e9c933be06bb7fd594d19d8
Showing with 5 additions and 4 deletions.
  1. +1 −1 python/core/core.sip
  2. +4 −3 python/core/symbology-ng/qgssymbollayerv2registry.sip
@@ -184,7 +184,7 @@
%Include symbology-ng/qgsfillsymbollayerv2.sip
%Include symbology-ng/qgslinesymbollayerv2.sip
%Include symbology-ng/qgsmarkersymbollayerv2.sip
// %Include symbology-ng/qgssymbollayerv2registry.sip
%Include symbology-ng/qgssymbollayerv2registry.sip

%Include symbology/qgsmarkercatalogue.sip
%Include symbology/qgssymbol.sip
@@ -1,3 +1,7 @@
typedef QgsSymbolLayerV2*( *QgsSymbolLayerV2CreateFunc )( const QgsStringMap& );
typedef QgsSymbolLayerV2Widget*( *QgsSymbolLayerV2WidgetFunc )( const QgsVectorLayer* );
typedef QgsSymbolLayerV2*( *QgsSymbolLayerV2CreateFromSldFunc )( QDomElement& );

class QgsSymbolLayerV2AbstractMetadata
{
%TypeHeaderCode
@@ -21,9 +25,6 @@ class QgsSymbolLayerV2AbstractMetadata
virtual QgsSymbolLayerV2* createSymbolLayerFromSld( QDomElement & ) /Factory/;
};

typedef QgsSymbolLayerV2*( *QgsSymbolLayerV2CreateFunc )( const QgsStringMap& );
typedef QgsSymbolLayerV2Widget*( *QgsSymbolLayerV2WidgetFunc )( const QgsVectorLayer* );
typedef QgsSymbolLayerV2*( *QgsSymbolLayerV2CreateFromSldFunc )( QDomElement& );

/**
Convenience metadata class that uses static functions to create symbol layer and its widget.

0 comments on commit ee515bd

Please sign in to comment.
You can’t perform that action at this time.