Applied patch from #2424 by Mathias Walker.

git-svn-id: http://svn.osgeo.org/qgis/trunk@12909 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
wonder 2010-02-09 16:11:01 +00:00
parent 0ab310575d
commit 64b68ae565
3 changed files with 8 additions and 0 deletions

View File

@ -11,4 +11,5 @@ class QgsPluginLayer : QgsMapLayer
/** return plugin layer type (the same as used in QgsPluginLayerRegistry) */
QString pluginLayerType();
void setExtent(const QgsRectangle& extent);
};

View File

@ -9,3 +9,8 @@ QString QgsPluginLayer::pluginLayerType()
{
return mPluginLayerType;
}
void QgsPluginLayer::setExtent( const QgsRectangle & extent )
{
mLayerExtent = extent;
}

View File

@ -23,6 +23,8 @@ class CORE_EXPORT QgsPluginLayer : public QgsMapLayer
/** return plugin layer type (the same as used in QgsPluginLayerRegistry) */
QString pluginLayerType();
void setExtent( const QgsRectangle & extent );
protected:
QString mPluginLayerType;
};