Skip to content

Commit

Permalink
Applied patch from #2424 by Mathias Walker.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12909 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Feb 9, 2010
1 parent 023d98d commit 1b18395
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/core/qgspluginlayer.sip
Expand Up @@ -11,4 +11,5 @@ class QgsPluginLayer : QgsMapLayer
/** return plugin layer type (the same as used in QgsPluginLayerRegistry) */
QString pluginLayerType();

void setExtent(const QgsRectangle& extent);
};
5 changes: 5 additions & 0 deletions src/core/qgspluginlayer.cpp
Expand Up @@ -9,3 +9,8 @@ QString QgsPluginLayer::pluginLayerType()
{
return mPluginLayerType;
}

void QgsPluginLayer::setExtent( const QgsRectangle & extent )
{
mLayerExtent = extent;
}
2 changes: 2 additions & 0 deletions src/core/qgspluginlayer.h
Expand Up @@ -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;
};
Expand Down

0 comments on commit 1b18395

Please sign in to comment.