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 & name() const
Gets the name of the plugin.
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 & type()
Plugin type, either UI or map layer.
QString const & description() const
A brief description of the plugin.
void unload_t(QgisPlugin *)
Typedef for the function to unload a plugin and free its resources.
QString const & category() const
Plugin category.
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.
QString const & version() const
Version of the plugin.
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.
QgisPlugin::PluginType const & type() const
Plugin type, either UI or map layer.
QString & category()
Plugin category.
QgisInterface Abstract base class defining interfaces exposed by QgisApp and made available to 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 & 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.