From 8a71509ee441e48215df9a9c3018214fe9a592ce Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 20 Jan 2013 18:31:11 -0500 Subject: 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. --- modules/settings/e-settings-mail-formatter.h | 66 ++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 modules/settings/e-settings-mail-formatter.h (limited to 'modules/settings/e-settings-mail-formatter.h') diff --git a/modules/settings/e-settings-mail-formatter.h b/modules/settings/e-settings-mail-formatter.h new file mode 100644 index 0000000000..3097d745d5 --- /dev/null +++ b/modules/settings/e-settings-mail-formatter.h @@ -0,0 +1,66 @@ +/* + * e-settings-mail-formatter.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 + * + */ + +#ifndef E_SETTINGS_MAIL_FORMATTER_H +#define E_SETTINGS_MAIL_FORMATTER_H + +#include + +/* Standard GObject macros */ +#define E_TYPE_SETTINGS_MAIL_FORMATTER \ + (e_settings_mail_formatter_get_type ()) +#define E_SETTINGS_MAIL_FORMATTER(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST \ + ((obj), E_TYPE_SETTINGS_MAIL_FORMATTER, ESettingsMailFormatter)) +#define E_SETTINGS_MAIL_FORMATTER_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_CAST \ + ((cls), E_TYPE_SETTINGS_MAIL_FORMATTER, ESettingsMailFormatterClass)) +#define E_IS_SETTINGS_MAIL_FORMATTER(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE \ + ((obj), E_TYPE_SETTINGS_MAIL_FORMATTER)) +#define E_IS_SETTINGS_MAIL_FORMATTER_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_TYPE \ + ((cls), E_TYPE_SETTINGS_MAIL_FORMATTER)) +#define E_SETTINGS_MAIL_FORMATTER_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS \ + ((obj), E_TYPE_SETTINGS_MAIL_FORMATTER, ESettingsMailFormatterClass)) + +G_BEGIN_DECLS + +typedef struct _ESettingsMailFormatter ESettingsMailFormatter; +typedef struct _ESettingsMailFormatterClass ESettingsMailFormatterClass; +typedef struct _ESettingsMailFormatterPrivate ESettingsMailFormatterPrivate; + +struct _ESettingsMailFormatter { + EExtension parent; + ESettingsMailFormatterPrivate *priv; +}; + +struct _ESettingsMailFormatterClass { + EExtensionClass parent_class; +}; + +GType e_settings_mail_formatter_get_type + (void) G_GNUC_CONST; +void e_settings_mail_formatter_type_register + (GTypeModule *type_module); + +G_END_DECLS + +#endif /* E_SETTINGS_MAIL_FORMATTER_H */ + -- cgit