|
The Gnome Chemistry Utils
0.14.17
|
Class for GChemPaint plugins. More...
#include <gcp/plugin.h>
Public Member Functions | |
| Plugin () | |
| virtual | ~Plugin () |
| virtual void | Populate (Application *App) |
| virtual void | Clear () |
Static Public Member Functions | |
| static void | LoadPlugins () |
| static void | UnloadPlugins () |
Class for GChemPaint plugins.
Every plugin should implement a new Plugin class derived from this one and create a unique static instance of the new class. The base class constructor will register the plugin. Such plugins are loaded on program startup.
| gcp::Plugin::Plugin | ( | ) |
The default constructor. Adds the new plugin to gcp::Plugins.
|
virtual |
The destructor.
|
virtual |
Called by the framework so that the plugin can clean memory before exit
|
static |
Loads plugins from the GChemPaint plugin directory stored in the PLUGINSDIR variable.
|
virtual |
| App | the GChemPaint application. |
Called by the framework so that the plugin can add new UI elements to the application.
|
static |
Unloads plugins.
1.8.13