Top |
CloudProvidersAccountCloudProvidersAccount — Base object for representing a single account for clients. |
CloudProvidersAccount * | cloud_providers_account_new () |
const gchar * | cloud_providers_account_get_name () |
CloudProvidersAccountStatus | cloud_providers_account_get_status () |
const gchar * | cloud_providers_account_get_status_details () |
GIcon * | cloud_providers_account_get_icon () |
GMenuModel * | cloud_providers_account_get_menu_model () |
GActionGroup * | cloud_providers_account_get_action_group () |
const gchar * | cloud_providers_account_get_path () |
GActionGroup * | action-group | Read |
GIcon * | icon | Read |
GMenuModel * | menu-model | Read |
char * | name | Read |
char * | path | Read |
CloudProvidersAccountStatus | status | Read |
char * | status-details | Read |
CloudProvidersAccount is the basic object used to construct the integrator UI and actions that a provider will present to the user, from the client side. Integrators of the cloud providers can use this object to poll the CloudProvidersProvider menus, status and actions.
CloudProvidersAccount *
cloud_providers_account_new (GDBusProxy *proxy
);
A CloudProvidersAccount object are used to fetch details about cloud providers from DBus.
Object are usually fetched from cloud_providers_provider_get_accounts()
as a list.
const gchar *
cloud_providers_account_get_name (CloudProvidersAccount *self
);
Get the name of the account
CloudProvidersAccountStatus
cloud_providers_account_get_status (CloudProvidersAccount *self
);
Get the status of the account
const gchar *
cloud_providers_account_get_status_details
(CloudProvidersAccount *self
);
Get the status details of the account
GIcon *
cloud_providers_account_get_icon (CloudProvidersAccount *self
);
Get the icon of the account
GMenuModel *
cloud_providers_account_get_menu_model
(CloudProvidersAccount *self
);
Get the menu model exported for the account
GActionGroup *
cloud_providers_account_get_action_group
(CloudProvidersAccount *self
);
Get the action group exported in addition to the GMenuModel from
cloud_providers_account_get_menu_model()
const gchar *
cloud_providers_account_get_path (CloudProvidersAccount *self
);
Get the directory path of the account
#define CLOUD_PROVIDERS_ACCOUNT_DBUS_IFACE "org.freedesktop.CloudProviders.Account"
#define CLOUD_PROVIDERS_TYPE_ACCOUNT (cloud_providers_account_get_type())
“action-group”
property “action-group” GActionGroup *
The action group associated with the account and menu model.
Owner: CloudProvidersAccount
Flags: Read
“icon”
property “icon” GIcon *
The icon representing the account.
Owner: CloudProvidersAccount
Flags: Read
“menu-model”
property “menu-model” GMenuModel *
The menu model associated with the account.
Owner: CloudProvidersAccount
Flags: Read
“name”
property “name” char *
The name of the account.
Owner: CloudProvidersAccount
Flags: Read
Default value: NULL
“path”
property “path” char *
The path of the directory where files are located.
Owner: CloudProvidersAccount
Flags: Read
Default value: NULL
“status”
property“status” CloudProvidersAccountStatus
Status of the account.
Owner: CloudProvidersAccount
Flags: Read
Default value: CLOUD_PROVIDERS_ACCOUNT_STATUS_INVALID