[QGIS Commit] r12899 - trunk/qgis/python/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Feb 8 04:33:24 EST 2010


Author: wonder
Date: 2010-02-08 04:33:23 -0500 (Mon, 08 Feb 2010)
New Revision: 12899

Modified:
   trunk/qgis/python/core/qgsmaprenderer.sip
Log:
Fixed compilation of python bindings due my recent changes.


Modified: trunk/qgis/python/core/qgsmaprenderer.sip
===================================================================
--- trunk/qgis/python/core/qgsmaprenderer.sip	2010-02-07 21:43:31 UTC (rev 12898)
+++ trunk/qgis/python/core/qgsmaprenderer.sip	2010-02-08 09:33:23 UTC (rev 12899)
@@ -13,11 +13,11 @@
   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 @@
   //! called when we're done with rendering
   virtual void exit() = 0;
 
+  //! called when passing engine among map renderers
+  virtual QgsLabelingEngineInterface* clone() = 0;
 };
 
 



More information about the QGIS-commit mailing list