2 * camel-store-settings.h
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.
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.
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/>
19 #if !defined (__CAMEL_H_INSIDE__) && !defined (CAMEL_COMPILATION)
20 #error "Only <camel/camel.h> can be included directly."
23 #ifndef CAMEL_STORE_SETTINGS_H
24 #define CAMEL_STORE_SETTINGS_H
26 #include <camel/camel-settings.h>
28 /* Standard GObject macros */
29 #define CAMEL_TYPE_STORE_SETTINGS \
30 (camel_store_settings_get_type ())
31 #define CAMEL_STORE_SETTINGS(obj) \
32 (G_TYPE_CHECK_INSTANCE_CAST \
33 ((obj), CAMEL_TYPE_STORE_SETTINGS, CamelStoreSettings))
34 #define CAMEL_STORE_SETTINGS_CLASS(cls) \
35 (G_TYPE_CHECK_CLASS_CAST \
36 ((cls), CAMEL_TYPE_STORE_SETTINGS, CamelStoreSettingsClass))
37 #define CAMEL_IS_STORE_SETTINGS(obj) \
38 (G_TYPE_CHECK_INSTANCE_TYPE \
39 ((obj), CAMEL_TYPE_STORE_SETTINGS))
40 #define CAMEL_IS_STORE_SETTINGS_CLASS(cls) \
41 (G_TYPE_CHECK_CLASS_TYPE \
42 ((cls), CAMEL_TYPE_STORE_SETTINGS))
43 #define CAMEL_STORE_SETTINGS_GET_CLASS(obj) \
44 (G_TYPE_INSTANCE_GET_CLASS \
45 ((obj), CAMEL_TYPE_STORE_SETTINGS, CamelStoreSettingsClass))
52 * Contains only private data that should be read and manipulated using the
57 typedef struct _CamelStoreSettings CamelStoreSettings;
58 typedef struct _CamelStoreSettingsClass CamelStoreSettingsClass;
59 typedef struct _CamelStoreSettingsPrivate CamelStoreSettingsPrivate;
61 struct _CamelStoreSettings {
63 CamelStoreSettingsPrivate *priv;
66 struct _CamelStoreSettingsClass {
67 CamelSettingsClass parent_class;
70 GType camel_store_settings_get_type (void) G_GNUC_CONST;
71 gboolean camel_store_settings_get_filter_inbox
72 (CamelStoreSettings *settings);
73 void camel_store_settings_set_filter_inbox
74 (CamelStoreSettings *settings,
75 gboolean filter_inbox);
79 #endif /* CAMEL_STORE_SETTINGS_H */