GnuCash
5.6-150-g038405b370+
|
Files | |
file | gnc-plugin-manager.h |
Plugin management functions for the GnuCash UI. | |
Basic Object Implementation | |
#define | GNC_TYPE_PLUGIN_MANAGER (gnc_plugin_manager_get_type ()) |
Management Functions | |
GncPluginManager * | gnc_plugin_manager_get (void) |
Retrieve a pointer to the plugin manager. More... | |
void | gnc_plugin_manager_add_plugin (GncPluginManager *manager, GncPlugin *plugin) |
Add a plugin to the list maintained by the plugin manager. More... | |
void | gnc_plugin_manager_remove_plugin (GncPluginManager *manager, GncPlugin *plugin) |
Remove a plugin from the list maintained by the plugin manager. More... | |
GList * | gnc_plugin_manager_get_plugins (GncPluginManager *manager) |
Get a list of all plugins being held by the plugin manager. More... | |
GncPlugin * | gnc_plugin_manager_get_plugin (GncPluginManager *manager, const gchar *name) |
Find a plugin by name from the list of plugins being held by the plugin manager. More... | |
void gnc_plugin_manager_add_plugin | ( | GncPluginManager * | manager, |
GncPlugin * | plugin | ||
) |
Add a plugin to the list maintained by the plugin manager.
manager | A pointer to the plugin manager. Retrieve this by calling gnc_plugin_manager_get(). |
plugin | A pointer to the plugin to add. |
Definition at line 75 of file gnc-plugin-manager.c.
GncPluginManager* gnc_plugin_manager_get | ( | void | ) |
Retrieve a pointer to the plugin manager.
This object is a singleton, that can only be retrieved via this function. Once you have a pointer to the manager, you can call it to add/remove plugins, etc.
Definition at line 61 of file gnc-plugin-manager.c.
GncPlugin* gnc_plugin_manager_get_plugin | ( | GncPluginManager * | manager, |
const gchar * | name | ||
) |
Find a plugin by name from the list of plugins being held by the plugin manager.
manager | A pointer to the plugin manager. Retrieve this by calling gnc_plugin_manager_get(). |
name | The name of the plugin to find. |
Definition at line 133 of file gnc-plugin-manager.c.
GList* gnc_plugin_manager_get_plugins | ( | GncPluginManager * | manager | ) |
Get a list of all plugins being held by the plugin manager.
This function is used by the main gnucash window code to get the list of plugins that need to be added to a new top level window.
manager | A pointer to the plugin manager. Retrieve this by calling gnc_plugin_manager_get(). |
Definition at line 125 of file gnc-plugin-manager.c.
void gnc_plugin_manager_remove_plugin | ( | GncPluginManager * | manager, |
GncPlugin * | plugin | ||
) |
Remove a plugin from the list maintained by the plugin manager.
manager | A pointer to the plugin manager. Retrieve this by calling gnc_plugin_manager_get(). |
plugin | A pointer to the plugin to add. |
Definition at line 99 of file gnc-plugin-manager.c.