ApClient

ApClient — Load account and application plugins.

Synopsis

#include <libaccount-plugin/client.h>

ApPlugin *          ap_client_load_plugin               (AgAccount *account);
ApApplicationPlugin * ap_client_load_application_plugin (AgApplication *application,
                                                         AgAccount *account);

Description

Load an ApApplicationPlugin or ApPlugin.

Details

ap_client_load_plugin ()

ApPlugin *          ap_client_load_plugin               (AgAccount *account);

Load the account plugin for account.

account :

the AgAccount to be created/edited.

Returns :

a new ApPlugin if a valid plugin was found, NULL otherwise. [transfer full]

ap_client_load_application_plugin ()

ApApplicationPlugin * ap_client_load_application_plugin (AgApplication *application,
                                                         AgAccount *account);

Load the application plugin for editing the application specific settings of account.

application :

the AgApplication.

account :

the AgAccount to be edited.

Returns :

a new ApApplicationPlugin if a valid plugin was found, NULL otherwise. [transfer full]