Extending test-client-custom-summary to try e_book_client_get_contacts_uids()
[platform/upstream/evolution-data-server.git] / camel / camel-offline-settings.h
1 /*
2  * camel-offline-settings.h
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) version 3.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with the program; if not, see <http://www.gnu.org/licenses/>
16  *
17  */
18
19 #if !defined (__CAMEL_H_INSIDE__) && !defined (CAMEL_COMPILATION)
20 #error "Only <camel/camel.h> can be included directly."
21 #endif
22
23 #ifndef CAMEL_OFFLINE_SETTINGS_H
24 #define CAMEL_OFFLINE_SETTINGS_H
25
26 #include <camel/camel-store-settings.h>
27
28 /* Standard GObject macros */
29 #define CAMEL_TYPE_OFFLINE_SETTINGS \
30         (camel_offline_settings_get_type ())
31 #define CAMEL_OFFLINE_SETTINGS(obj) \
32         (G_TYPE_CHECK_INSTANCE_CAST \
33         ((obj), CAMEL_TYPE_OFFLINE_SETTINGS, CamelOfflineSettings))
34 #define CAMEL_OFFLINE_SETTINGS_CLASS(cls) \
35         (G_TYPE_CHECK_CLASS_CAST \
36         ((cls), CAMEL_TYPE_OFFLINE_SETTINGS, CamelOfflineSettingsClass))
37 #define CAMEL_IS_OFFLINE_SETTINGS(obj) \
38         (G_TYPE_CHECK_INSTANCE_TYPE \
39         ((obj), CAMEL_TYPE_OFFLINE_SETTINGS))
40 #define CAMEL_IS_OFFLINE_SETTINGS_CLASS(cls) \
41         (G_TYPE_CHECK_CLASS_TYPE \
42         ((cls), CAMEL_TYPE_OFFLINE_SETTINGS))
43 #define CAMEL_OFFLINE_SETTINGS_GET_CLASS(obj) \
44         (G_TYPE_INSTANCE_GET_CLASS \
45         ((obj), CAMEL_TYPE_OFFLINE_SETTINGS, CamelOfflineSettingsClass))
46
47 G_BEGIN_DECLS
48
49 /**
50  * CamelOfflineSettings:
51  *
52  * Contains only private data that should be read and manipulated using the
53  * functions below.
54  *
55  * Since: 3.2
56  **/
57 typedef struct _CamelOfflineSettings CamelOfflineSettings;
58 typedef struct _CamelOfflineSettingsClass CamelOfflineSettingsClass;
59 typedef struct _CamelOfflineSettingsPrivate CamelOfflineSettingsPrivate;
60
61 struct _CamelOfflineSettings {
62         CamelStoreSettings parent;
63         CamelOfflineSettingsPrivate *priv;
64 };
65
66 struct _CamelOfflineSettingsClass {
67         CamelStoreSettingsClass parent_class;
68 };
69
70 GType           camel_offline_settings_get_type
71                                         (void) G_GNUC_CONST;
72 gboolean        camel_offline_settings_get_stay_synchronized
73                                         (CamelOfflineSettings *settings);
74 void            camel_offline_settings_set_stay_synchronized
75                                         (CamelOfflineSettings *settings,
76                                          gboolean stay_synchronized);
77
78 G_END_DECLS
79
80 #endif /* CAMEL_OFFLINE_SETTINGS_H */