aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail/e-mail-config-format-html.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-10-09 22:01:05 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-10-09 22:01:05 +0800
commitc3eacfd37e5275942635c069e6f20eb0dd22f6be (patch)
treefd608be31421f9592010fc2682ffe3453340f5a9 /modules/mail/e-mail-config-format-html.h
parent14ea17959765152019b4360eebc2790cfb2e9c29 (diff)
downloadgsoc2013-evolution-c3eacfd37e5275942635c069e6f20eb0dd22f6be.tar
gsoc2013-evolution-c3eacfd37e5275942635c069e6f20eb0dd22f6be.tar.gz
gsoc2013-evolution-c3eacfd37e5275942635c069e6f20eb0dd22f6be.tar.bz2
gsoc2013-evolution-c3eacfd37e5275942635c069e6f20eb0dd22f6be.tar.lz
gsoc2013-evolution-c3eacfd37e5275942635c069e6f20eb0dd22f6be.tar.xz
gsoc2013-evolution-c3eacfd37e5275942635c069e6f20eb0dd22f6be.tar.zst
gsoc2013-evolution-c3eacfd37e5275942635c069e6f20eb0dd22f6be.zip
EMailConfigFormatHTML: Use G_DEFINE_DYNAMIC_TYPE.
Follow the usual GObject conventions.
Diffstat (limited to 'modules/mail/e-mail-config-format-html.h')
-rw-r--r--modules/mail/e-mail-config-format-html.h40
1 files changed, 38 insertions, 2 deletions
diff --git a/modules/mail/e-mail-config-format-html.h b/modules/mail/e-mail-config-format-html.h
index bed76d88b7..09482108db 100644
--- a/modules/mail/e-mail-config-format-html.h
+++ b/modules/mail/e-mail-config-format-html.h
@@ -19,12 +19,48 @@
#ifndef E_MAIL_CONFIG_FORMAT_HTML_H
#define E_MAIL_CONFIG_FORMAT_HTML_H
-#include <glib-object.h>
+#include <libebackend/libebackend.h>
+
+/* Standard GObject macros */
+#define E_TYPE_MAIL_CONFIG_FORMAT_HTML \
+ (e_mail_config_format_html_get_type ())
+#define E_MAIL_CONFIG_FORMAT_HTML(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST \
+ ((obj), E_TYPE_MAIL_CONFIG_FORMAT_HTML, EMailConfigFormatHTML))
+#define E_MAIL_CONFIG_FORMAT_HTML_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_CAST \
+ ((cls), E_TYPE_MAIL_CONFIG_FORMAT_HTML, EMailConfigFormatHTMLClass))
+#define E_IS_MAIL_CONFIG_FORMAT_HTML(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE \
+ ((obj), E_TYPE_MAIL_CONFIG_FORMAT_HTML))
+#define E_IS_MAIL_CONFIG_FORMAT_HTML_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_TYPE \
+ ((cls), E_TYPE_MAIL_CONFIG_FORMAT_HTML))
+#define E_MAIL_CONFIG_FORMAT_HTML_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS \
+ ((obj), E_TYPE_MAIL_CONFIG_FORMAT_HTML, EMailConfigFormatHTMLClass))
G_BEGIN_DECLS
-void e_mail_config_format_html_register_type (GTypeModule *type_module);
+typedef struct _EMailConfigFormatHTML EMailConfigFormatHTML;
+typedef struct _EMailConfigFormatHTMLClass EMailConfigFormatHTMLClass;
+typedef struct _EMailConfigFormatHTMLPrivate EMailConfigFormatHTMLPrivate;
+
+struct _EMailConfigFormatHTML {
+ EExtension parent;
+ EMailConfigFormatHTMLPrivate *priv;
+};
+
+struct _EMailConfigFormatHTMLClass {
+ EExtensionClass parent_class;
+};
+
+GType e_mail_config_format_html_get_type
+ (void) G_GNUC_CONST;
+void e_mail_config_format_html_type_register
+ (GTypeModule *type_module);
G_END_DECLS
#endif /* E_MAIL_CONFIG_FORMAT_HTML_H */
+