From db878e013320607d5810f3ae40382876e4a35d5f Mon Sep 17 00:00:00 2001 From: wonder Date: Mon, 8 Feb 2010 09:33:23 +0000 Subject: [PATCH] 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 --- python/core/qgsmaprenderer.sip | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/python/core/qgsmaprenderer.sip b/python/core/qgsmaprenderer.sip index a79ccb516151..c4aed0a191bc 100644 --- a/python/core/qgsmaprenderer.sip +++ b/python/core/qgsmaprenderer.sip @@ -13,11 +13,11 @@ 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 @@ -25,6 +25,8 @@ public: //! called when we're done with rendering virtual void exit() = 0; + //! called when passing engine among map renderers + virtual QgsLabelingEngineInterface* clone() = 0; };