QGIS/python/core/qgspluginlayer.sip
wonder 8f32f25a90 [FEATURE] Support for custom plugin layers. Applied patch from #2392 contributed by Mathias Walker. Thanks!
Some parts modified to make plugin layers easier to use and more robust.


git-svn-id: http://svn.osgeo.org/qgis/trunk@12834 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-26 15:43:54 +00:00

15 lines
285 B
Plaintext

class QgsPluginLayer : QgsMapLayer
{
%TypeHeaderCode
#include "qgspluginlayer.h"
%End
public:
QgsPluginLayer(QString layerType, QString layerName = QString());
/** return plugin layer type (the same as used in QgsPluginLayerRegistry) */
QString pluginLayerType();
};