Top |
CloudProvidersProviderExporterCloudProvidersProviderExporter — Base object for representing a single provider |
GDBusConnection * | bus | Read / Write / Construct Only |
char * | bus-name | Read / Write / Construct Only |
char * | bus-path | Read / Write / Construct Only |
char * | name | Read / Write |
CloudProvidersProviderExporter is the base object representing a single cloud provider.
Multiple CloudProvidersAccountExporter objects can be added with cloud_providers_provider_exporter_add_account()
After adding the initial set of accounts cloud_providers_provider_exporter_export_objects()
must be called.
CloudProvidersProviderExporter * cloud_providers_provider_exporter_new (GDBusConnection *bus
,const gchar *bus_name
,const gchar *bus_path
);
bus |
A GDBusConnection to export the objects to |
|
bus_name |
A DBus name to bind to |
|
bus_path |
A DBus object path |
void cloud_providers_provider_exporter_remove_account (CloudProvidersProviderExporter *self
,CloudProvidersAccountExporter *account
);
Each cloud provider can have a variety of account associated with it. Use this
function to remove the accounts that were added when created by cloud_providers_account_exporter_new()
.
void cloud_providers_provider_exporter_set_name (CloudProvidersProviderExporter *self
,const gchar *name
);
const gchar *
cloud_providers_provider_exporter_get_name
(CloudProvidersProviderExporter *self
);
#define CLOUD_PROVIDERS_TYPE_PROVIDER_EXPORTER (cloud_providers_provider_exporter_get_type())
struct CloudProvidersProviderExporterClass { GObjectClass parent_class; };
“bus”
property“bus” GDBusConnection *
Bus.
Owner: CloudProvidersProviderExporter
Flags: Read / Write / Construct Only
“bus-name”
property “bus-name” char *
BusName.
Owner: CloudProvidersProviderExporter
Flags: Read / Write / Construct Only
Default value: NULL
“bus-path”
property “bus-path” char *
BusPath.
Owner: CloudProvidersProviderExporter
Flags: Read / Write / Construct Only
Default value: NULL