ApClient

ApClient — Load account and application plugins.

Functions

Object Hierarchy


Includes

#include <libaccount-plugin/client.h>

Description

Load an ApApplicationPlugin or ApPlugin.

Functions

ap_client_load_plugin ()

ApPlugin *
ap_client_load_plugin (AgAccount *account);

Load the account plugin for account .

Parameters

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 .

Parameters

application

the AgApplication.

 

account

the AgAccount to be edited.

 

Returns

a new ApApplicationPlugin if a valid plugin was found, NULL otherwise.

[transfer full]

Types and Values