69 @todo XXX
this may be a hint that there should be subclasses
98 QString
const &
name()
const 161 virtual void unload() = 0;
169 QString mDescription;
217 #endif // QGISPLUGIN_H A plugin for a new renderer class.
QString const & description() const
A brief description of the plugin.
QString const & category() const
Plugin category.
QString icon_t()
Typedef for getting the plugin icon file name without instantiating the plugin.
QgisPlugin * create_t(QgisInterface *)
Typedef for the function that returns a generic pointer to a plugin object.
QgisPlugin::PluginType const & type() const
Plugin type, either UI or map layer.
QgisPlugin::PluginType & type()
Plugin type, either UI or map layer.
void unload_t(QgisPlugin *)
Typedef for the function to unload a plugin and free its resources.
QString name_t()
Typedef for getting the name of the plugin without instantiating it.
PluginType
Interface to gui element collection object.
QgisPlugin(QString const &name="", QString const &description="", QString const &category="", QString const &version="", PluginType type=MapLayer)
Constructor for QgisPlugin.
virtual void unload()=0
Unload the plugin and cleanup the GUI.
QString description_t()
Typedef for getting the description without instantiating the plugin.
int type_t()
Typedef for getting the plugin type without instantiating the plugin.
QString & category()
Plugin category.
QgisInterface Abstract base class defining interfaces exposed by QgisApp and made available to plugin...
QString const & version() const
Version of the plugin.
QString version_t()
Typedef for getting the plugin version without instantiating the plugin.
virtual void initGui()=0
function to initialize connection to GUI
QString category_t()
Typedef for getting the category without instantiating the plugin.
QString const & name() const
Get the name of the plugin.
QString & version()
Version of the plugin.
virtual ~QgisPlugin()=default
Abstract base class from which all plugins must inherit.
QString & description()
A brief description of the plugin.
QString experimental_t()
Typedef for getting the experimental status without instantiating the plugin.