Skip to content

Commit 757c42e

Browse files
author
wonder
committedFeb 8, 2010
Fixed compilation of python bindings due my recent changes.
git-svn-id: http://svn.osgeo.org/qgis/trunk@12899 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent d240f03 commit 757c42e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎python/core/qgsmaprenderer.sip

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,20 @@ public:
1313
virtual ~QgsLabelingEngineInterface();
1414

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

28+
//! called when passing engine among map renderers
29+
virtual QgsLabelingEngineInterface* clone() = 0;
2830
};
2931

3032

0 commit comments

Comments
 (0)
Please sign in to comment.