![]() |
![]() |
![]() |
libaccounts Reference Manual | ![]() |
---|---|---|---|---|
AccountService; AccountEditContext* account_service_begin_new (AccountService *service); AccountPlugin* account_service_get_plugin (AccountService *service); const gchar* account_service_get_name (AccountService *service); const gchar* account_service_get_display_name (AccountService *service);
"display-name" gchar* : Read / Write "icon" GdkPixbuf* : Read / Write "name" gchar* : Read / Write / Construct "plugin" AccountPlugin* : Read / Write / Construct Only "supports-avatar" gboolean : Read / Write
An AccountService represents a service which accounts can access. Services are created by AccountPlugin objects and are means by which the same plugin could provide support for different types of accounts.
AccountEditContext* account_service_begin_new (AccountService *service);
Start the creation of a new account for accessing this service.
service : |
The AccountService. |
Returns : | an AccountEditContext for editing the account. |
AccountPlugin* account_service_get_plugin (AccountService *service);
Gets the plugin which manages this account service.
service : |
the AccountService. |
Returns : | a AccountPlugin; its reference count is not incremented. |
const gchar* account_service_get_name (AccountService *service);
Gets the name of this service.
service : |
the AccountService. |
Returns : | a const string representing the service's name. |
const gchar* account_service_get_display_name (AccountService *service);
Gets the display name of this service.
service : |
the AccountService. |
Returns : | a const string representing the service's display name. |