Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed compilation of python bindings due my recent changes.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12899 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Feb 8, 2010
1 parent 31b18a1 commit db878e0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions python/core/qgsmaprenderer.sip
Expand Up @@ -13,18 +13,20 @@ public:
virtual ~QgsLabelingEngineInterface();

//! called when we're going to start with rendering
virtual void init() = 0;
virtual void init( QgsMapRenderer* mr ) = 0;
//! called to find out whether the layer is used for labeling
virtual bool willUseLayer( QgsVectorLayer* layer ) = 0;
//! called when starting rendering of a layer
virtual int prepareLayer(QgsVectorLayer* layer, int& attrIndex) = 0;
virtual int prepareLayer(QgsVectorLayer* layer, int& attrIndex, QgsRenderContext& ctx ) = 0;
//! called for every feature
virtual void registerFeature( QgsVectorLayer* layer, QgsFeature& feat ) = 0;
//! called when the map is drawn and labels should be placed
virtual void drawLabeling( QgsRenderContext& context ) = 0;
//! called when we're done with rendering
virtual void exit() = 0;

//! called when passing engine among map renderers
virtual QgsLabelingEngineInterface* clone() = 0;
};


Expand Down

0 comments on commit db878e0

Please sign in to comment.