Debian Codegraph @

src/cloudprovidersaccountexporter.h

raw
1 /* cloudprovidersaccountexporter.h
2 *
3 * Copyright (C) 2017 Julius Haertl <[email protected]>
4 *
5 * This file is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU Lesser General Public License as
7 * published by the Free Software Foundation; either version 3 of the
8 * License, or (at your option) any later version.
9 *
10 * This file is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #ifndef CLOUD_PROVIDERS_ACCOUNT_EXPORTER_H
20 #define CLOUD_PROVIDERS_ACCOUNT_EXPORTER_H
21
22 #include <gio/gio.h>
23 #include "cloudprovidersaccount.h"
24
25 G_BEGIN_DECLS
26
27 #define CLOUD_PROVIDERS_TYPE_ACCOUNT_EXPORTER (cloud_providers_account_exporter_get_type())
28 G_DECLARE_FINAL_TYPE (CloudProvidersAccountExporter, cloud_providers_account_exporter, CLOUD_PROVIDERS, ACCOUNT_EXPORTER, GObject)
29
30 typedef struct _CloudProvidersProviderExporter CloudProvidersProviderExporter;
31
32 struct _CloudProvidersAccountExporterClass
33 {
34 GObjectClass parent_class;
35 };
36
37 CloudProvidersAccountExporter*
38 cloud_providers_account_exporter_new (CloudProvidersProviderExporter *provider,
39 const gchar *bus_name);
40
41 void
42 cloud_providers_account_exporter_set_name (CloudProvidersAccountExporter *self,
43 const gchar *name);
44
45 void
46 cloud_providers_account_exporter_set_status (CloudProvidersAccountExporter *self,
47 CloudProvidersAccountStatus status);
48
49 void
50 cloud_providers_account_exporter_set_status_details (CloudProvidersAccountExporter *self,
51 const gchar *status_details);
52
53 void
54 cloud_providers_account_exporter_set_icon (CloudProvidersAccountExporter *self,
55 GIcon *icon);
56
57 void
58 cloud_providers_account_exporter_set_menu_model (CloudProvidersAccountExporter *self,
59 GMenuModel *menu_model);
60
61 void
62 cloud_providers_account_exporter_set_action_group (CloudProvidersAccountExporter *self,
63 GActionGroup *action_group);
64
65 void
66 cloud_providers_account_exporter_set_path (CloudProvidersAccountExporter *self,
67 const gchar *path);
68
69 G_END_DECLS
70
71 #endif /* CLOUD_PROVIDERS_ACCOUNT_EXPORTER_H */