aboutsummaryrefslogtreecommitdiffstats
path: root/modules/settings/e-settings-mail-reader.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-01-21 07:31:11 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-01-21 09:56:16 +0800
commit8a71509ee441e48215df9a9c3018214fe9a592ce (patch)
tree2c053d9d1c8a7d6bd61c81a6f609c48fb8428197 /modules/settings/e-settings-mail-reader.h
parent8e2902eefc466c662bd7bef0533de05db0897c49 (diff)
downloadgsoc2013-evolution-8a71509ee441e48215df9a9c3018214fe9a592ce.tar
gsoc2013-evolution-8a71509ee441e48215df9a9c3018214fe9a592ce.tar.gz
gsoc2013-evolution-8a71509ee441e48215df9a9c3018214fe9a592ce.tar.bz2
gsoc2013-evolution-8a71509ee441e48215df9a9c3018214fe9a592ce.tar.lz
gsoc2013-evolution-8a71509ee441e48215df9a9c3018214fe9a592ce.tar.xz
gsoc2013-evolution-8a71509ee441e48215df9a9c3018214fe9a592ce.tar.zst
gsoc2013-evolution-8a71509ee441e48215df9a9c3018214fe9a592ce.zip
Add a "settings" module.
Collect all the "config" extensions from the "addressbook", "calendar", and "mail" modules into one place. These extensions typically just bind GObject properties of extensible classes to app-specific GSettings keys.
Diffstat (limited to 'modules/settings/e-settings-mail-reader.h')
-rw-r--r--modules/settings/e-settings-mail-reader.h65
1 files changed, 65 insertions, 0 deletions
diff --git a/modules/settings/e-settings-mail-reader.h b/modules/settings/e-settings-mail-reader.h
new file mode 100644
index 0000000000..7967923556
--- /dev/null
+++ b/modules/settings/e-settings-mail-reader.h
@@ -0,0 +1,65 @@
+/*
+ * e-settings-mail-reader.h
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) version 3.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ *
+ */
+
+#ifndef E_SETTINGS_MAIL_READER_H
+#define E_SETTINGS_MAIL_READER_H
+
+#include <libebackend/libebackend.h>
+
+/* Standard GObject macros */
+#define E_TYPE_SETTINGS_MAIL_READER \
+ (e_settings_mail_reader_get_type ())
+#define E_SETTINGS_MAIL_READER(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST \
+ ((obj), E_TYPE_SETTINGS_MAIL_READER, ESettingsMailReader))
+#define E_SETTINGS_MAIL_READER_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_CAST \
+ ((cls), E_TYPE_SETTINGS_MAIL_READER, ESettingsMailReaderClass))
+#define E_IS_SETTINGS_MAIL_READER(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE \
+ ((obj), E_TYPE_SETTINGS_MAIL_READER))
+#define E_IS_SETTINGS_MAIL_READER_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_TYPE \
+ ((cls), E_TYPE_SETTINGS_MAIL_READER))
+#define E_SETTINGS_MAIL_READER_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS \
+ ((obj), E_TYPE_SETTINGS_MAIL_READER, ESettingsMailReaderClass))
+
+G_BEGIN_DECLS
+
+typedef struct _ESettingsMailReader ESettingsMailReader;
+typedef struct _ESettingsMailReaderClass ESettingsMailReaderClass;
+typedef struct _ESettingsMailReaderPrivate ESettingsMailReaderPrivate;
+
+struct _ESettingsMailReader {
+ EExtension parent;
+ ESettingsMailReaderPrivate *priv;
+};
+
+struct _ESettingsMailReaderClass {
+ EExtensionClass parent_class;
+};
+
+GType e_settings_mail_reader_get_type (void) G_GNUC_CONST;
+void e_settings_mail_reader_type_register
+ (GTypeModule *type_module);
+
+G_END_DECLS
+
+#endif /* E_SETTINGS_MAIL_READER_H */
+