Skip to content
Permalink
Browse files

Applied patch from #2424 by Mathias Walker.

git-svn-id: http://svn.osgeo.org/qgis/trunk@12909 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Feb 9, 2010
1 parent 0ab3105 commit 64b68ae5657fae43034643240459a4b1e840b09a
Showing with 8 additions and 0 deletions.
  1. +1 −0 python/core/qgspluginlayer.sip
  2. +5 −0 src/core/qgspluginlayer.cpp
  3. +2 −0 src/core/qgspluginlayer.h
@@ -11,4 +11,5 @@ class QgsPluginLayer : QgsMapLayer
/** return plugin layer type (the same as used in QgsPluginLayerRegistry) */
QString pluginLayerType();

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

void QgsPluginLayer::setExtent( const QgsRectangle & extent )
{
mLayerExtent = extent;
}
@@ -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;
};

0 comments on commit 64b68ae

Please sign in to comment.
You can’t perform that action at this time.