Debian Codegraph @

src/cloudprovidersproviderexporter.h

raw
1 /* cloudprovidersexporter.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_PROVIDER_EXPORTER_H
20 #define CLOUD_PROVIDERS_PROVIDER_EXPORTER_H
21
22 #include <gio/gio.h>
23 #include "cloudprovidersaccountexporter.h"
24
25 G_BEGIN_DECLS
26
27 #define CLOUD_PROVIDERS_TYPE_PROVIDER_EXPORTER (cloud_providers_provider_exporter_get_type())
28 G_DECLARE_FINAL_TYPE (CloudProvidersProviderExporter, cloud_providers_provider_exporter, CLOUD_PROVIDERS, PROVIDER_EXPORTER, GObject)
29
30 struct _CloudProvidersProviderExporterClass
31 {
32 GObjectClass parent_class;
33 };
34
35 void
36 cloud_providers_provider_exporter_remove_account (CloudProvidersProviderExporter *self,
37 CloudProvidersAccountExporter *account);
38
39 void
40 cloud_providers_provider_exporter_set_name (CloudProvidersProviderExporter *self,
41 const gchar *name);
42 const gchar*
43 cloud_providers_provider_exporter_get_name (CloudProvidersProviderExporter *self);
44
45 CloudProvidersProviderExporter*
46 cloud_providers_provider_exporter_new (GDBusConnection *bus,
47 const gchar *bus_name,
48 const gchar *bus_path);
49
50 G_END_DECLS
51
52 #endif /* CLOUD_PROVIDERS_PROVIDER_EXPORTER_H */