Debian Codegraph @

src/cloudproviderscollector.h

raw
1 /* cloudproviderscollector.h
2 *
3 * Copyright (C) 2015 Carlos Soriano <[email protected]>
4 * Copyright (C) 2017 Julius Haertl <[email protected]>
5 *
6 * This file is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU Lesser General Public License as
8 * published by the Free Software Foundation; either version 3 of the
9 * License, or (at your option) any later version.
10 *
11 * This file is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19 #ifndef CLOUD_PROVIDERS_COLLECTOR_H
20 #define CLOUD_PROVIDERS_COLLECTOR_H
21
22 #include <gio/gio.h>
23 #include "cloudprovidersaccount.h"
24
25 G_BEGIN_DECLS
26
27 #define CLOUD_PROVIDERS_TYPE_COLLECTOR (cloud_providers_collector_get_type())
28 G_DECLARE_FINAL_TYPE (CloudProvidersCollector, cloud_providers_collector, CLOUD_PROVIDERS, COLLECTOR, GObject)
29
30 struct _CloudProvidersCollectorClass
31 {
32 GObjectClass parent_class;
33 };
34
35 CloudProvidersCollector *cloud_providers_collector_dup_singleton (void);
36 void cloud_providers_collector_update (CloudProvidersCollector *self);
37 GList *cloud_providers_collector_get_providers (CloudProvidersCollector *self);
38 G_END_DECLS
39
40 #endif /* CLOUD_PROVIDERS_COLLECTOR_H */