![]() |
![]() |
![]() |
libaccounts Reference Manual | ![]() |
---|---|---|---|---|
AccountPluginManager; GList* account_plugin_manager_list (AccountPluginManager *plugin_manager); AccountPluginManager* account_plugin_manager_new (GList *plugin_paths, AccountsList *accounts_list);
"accounts-list" AccountsList* : Read / Write / Construct Only "plugin-paths" gpointer : Read / Write / Construct Only "plugins-initialized" gboolean : Read
The AccountPluginManager is a convenience object for managing account
plugins. When it is first created with account_plugin_manager_new()
it scans
through the given list of paths, looking for loadable plugins. For each
module it finds it creates an AccountPlugin object and binds it to the given
AccountsList (by calling account_plugin_setup()
).
The account_plugin_manager_list()
method can be used to retrieve the list of
the known AccountPlugin objects.
GList* account_plugin_manager_list (AccountPluginManager *plugin_manager);
Returns a list of all the available account plugins.
plugin_manager : |
|
Returns : | a GList of AccountPlugin objects. The objects are not referenced.
To free it, call g_list_free() :
|
AccountPluginManager* account_plugin_manager_new (GList *plugin_paths, AccountsList *accounts_list);
Create an AccountPluginManager for handling the plugins located in any of
the directories specified by plugin_paths
, and binds accounts_list
to it.
plugin_paths : |
GList of plugin paths. |
accounts_list : |
the AccountsList. |
Returns : | an AccountPluginManager. |
"accounts-list"
property"accounts-list" AccountsList* : Read / Write / Construct Only
AccountsList to be notified of account creations/deletions.
"plugin-paths"
property"plugin-paths" gpointer : Read / Write / Construct Only
Plugin installation paths.