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-comp-editor.h | 64 +++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 modules/settings/e-settings-comp-editor.h (limited to 'modules/settings/e-settings-comp-editor.h') diff --git a/modules/settings/e-settings-comp-editor.h b/modules/settings/e-settings-comp-editor.h new file mode 100644 index 0000000000..24b03f6e5d --- /dev/null +++ b/modules/settings/e-settings-comp-editor.h @@ -0,0 +1,64 @@ +/* + * e-settings-comp-editor.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_COMP_EDITOR_H +#define E_SETTINGS_COMP_EDITOR_H + +#include + +/* Standard GObject macros */ +#define E_TYPE_SETTINGS_COMP_EDITOR \ + (e_settings_comp_editor_get_type ()) +#define E_SETTINGS_COMP_EDITOR(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST \ + ((obj), E_TYPE_SETTINGS_COMP_EDITOR, ESettingsCompEditor)) +#define E_SETTINGS_COMP_EDITOR_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_CAST \ + ((cls), E_TYPE_SETTINGS_COMP_EDITOR, ESettingsCompEditorClass)) +#define E_IS_SETTINGS_COMP_EDITOR(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE \ + ((obj), E_TYPE_SETTINGS_COMP_EDITOR)) +#define E_IS_SETTINGS_COMP_EDITOR_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_TYPE \ + ((cls), E_TYPE_SETTINGS_COMP_EDITOR)) +#define E_SETTINGS_COMP_EDITOR_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS \ + ((obj), E_TYPE_SETTINGS_COMP_EDITOR, ESettingsCompEditorClass)) + +G_BEGIN_DECLS + +typedef struct _ESettingsCompEditor ESettingsCompEditor; +typedef struct _ESettingsCompEditorClass ESettingsCompEditorClass; +typedef struct _ESettingsCompEditorPrivate ESettingsCompEditorPrivate; + +struct _ESettingsCompEditor { + EExtension parent; + ESettingsCompEditorPrivate *priv; +}; + +struct _ESettingsCompEditorClass { + EExtensionClass parent_class; +}; + +GType e_settings_comp_editor_get_type (void) G_GNUC_CONST; +void e_settings_comp_editor_type_register + (GTypeModule *type_module); + +G_END_DECLS + +#endif /* E_SETTINGS_COMP_EDITOR_H */ -- cgit