/usr/include/qgis/qgspluginlayer.h is in libqgis-dev 1.7.4+1.7.5~20120320-1.1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #ifndef QGSPLUGINLAYER_H
#define QGSPLUGINLAYER_H
#include "qgsmaplayer.h"
/** \ingroup core
Base class for plugin layers. These can be implemented by plugins
and registered in QgsPluginLayerRegistry.
In order to be readable from project files, they should set these attributes in layer DOM node:
"type" = "plugin"
"name" = "your_layer_type"
\note added in v1.5
*/
class CORE_EXPORT QgsPluginLayer : public QgsMapLayer
{
Q_OBJECT
public:
QgsPluginLayer( QString layerType, QString layerName = QString() );
/** return plugin layer type (the same as used in QgsPluginLayerRegistry) */
QString pluginLayerType();
void setExtent( const QgsRectangle & extent );
protected:
QString mPluginLayerType;
};
#endif // QGSPLUGINLAYER_H
|