diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-01-21 07:31:11 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-01-21 09:56:16 +0800 |
commit | 8a71509ee441e48215df9a9c3018214fe9a592ce (patch) | |
tree | 2c053d9d1c8a7d6bd61c81a6f609c48fb8428197 /modules/settings/e-settings-mail-formatter.h | |
parent | 8e2902eefc466c662bd7bef0533de05db0897c49 (diff) | |
download | gsoc2013-evolution-8a71509ee441e48215df9a9c3018214fe9a592ce.tar.gz 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-formatter.h')
-rw-r--r-- | modules/settings/e-settings-mail-formatter.h | 66 |
1 files changed, 66 insertions, 0 deletions
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 <http://www.gnu.org/licenses/> + * + */ + +#ifndef E_SETTINGS_MAIL_FORMATTER_H +#define E_SETTINGS_MAIL_FORMATTER_H + +#include <libebackend/libebackend.h> + +/* 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 */ + |