mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04:00
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:
parent
0ab310575d
commit
64b68ae565
@ -11,4 +11,5 @@ class QgsPluginLayer : QgsMapLayer
|
|||||||
/** return plugin layer type (the same as used in QgsPluginLayerRegistry) */
|
/** return plugin layer type (the same as used in QgsPluginLayerRegistry) */
|
||||||
QString pluginLayerType();
|
QString pluginLayerType();
|
||||||
|
|
||||||
|
void setExtent(const QgsRectangle& extent);
|
||||||
};
|
};
|
||||||
|
@ -9,3 +9,8 @@ QString QgsPluginLayer::pluginLayerType()
|
|||||||
{
|
{
|
||||||
return mPluginLayerType;
|
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) */
|
/** return plugin layer type (the same as used in QgsPluginLayerRegistry) */
|
||||||
QString pluginLayerType();
|
QString pluginLayerType();
|
||||||
|
|
||||||
|
void setExtent( const QgsRectangle & extent );
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
QString mPluginLayerType;
|
QString mPluginLayerType;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user