Debian Codegraph @

src/cloudprovidersprovider.h

raw
1 /* cloudprovidersprovider.h
2 *
3 * Copyright (C) 2017 Carlos Soriano <[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 #ifndef CLOUD_PROVIDERS_PROVIDER_H
19 #define CLOUD_PROVIDERS_PROVIDER_H
20
21 #include <gio/gio.h>
22 #include "cloudprovidersaccount.h"
23
24 G_BEGIN_DECLS
25
26 #define CLOUD_PROVIDERS_PROVIDER_DBUS_IFACE "org.freedesktop.CloudProviders.Provider"
27
28 #define CLOUD_PROVIDERS_TYPE_PROVIDER (cloud_providers_provider_get_type())
29
30 G_DECLARE_FINAL_TYPE (CloudProvidersProvider, cloud_providers_provider, CLOUD_PROVIDERS, PROVIDER, GObject)
31
32 CloudProvidersProvider *cloud_providers_provider_new (const gchar *bus_name,
33 const gchar *object_path);
34 const gchar* cloud_providers_provider_get_name (CloudProvidersProvider *self);
35 GList* cloud_providers_provider_get_accounts (CloudProvidersProvider *self);
36
37 G_END_DECLS
38
39 #endif /* CLOUD_PROVIDERS_PROVIDER_H */
40