aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html-print.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-04-28 10:33:05 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-04-28 10:33:05 +0800
commitaf5958acaa62952d7ad0b729ad477dbe570eab6d (patch)
tree376b0ee99e80da1ba5d72b01080d3c345852c2df /mail/em-format-html-print.h
parenta9e1c0f8e729915f756ee38854e20a8f04f3684b (diff)
downloadgsoc2013-evolution-af5958acaa62952d7ad0b729ad477dbe570eab6d.tar
gsoc2013-evolution-af5958acaa62952d7ad0b729ad477dbe570eab6d.tar.gz
gsoc2013-evolution-af5958acaa62952d7ad0b729ad477dbe570eab6d.tar.bz2
gsoc2013-evolution-af5958acaa62952d7ad0b729ad477dbe570eab6d.tar.lz
gsoc2013-evolution-af5958acaa62952d7ad0b729ad477dbe570eab6d.tar.xz
gsoc2013-evolution-af5958acaa62952d7ad0b729ad477dbe570eab6d.tar.zst
gsoc2013-evolution-af5958acaa62952d7ad0b729ad477dbe570eab6d.zip
Cosmetic cleanups for EMFormat headers
Diffstat (limited to 'mail/em-format-html-print.h')
-rw-r--r--mail/em-format-html-print.h44
1 files changed, 33 insertions, 11 deletions
diff --git a/mail/em-format-html-print.h b/mail/em-format-html-print.h
index e308b065fa..ef25b63033 100644
--- a/mail/em-format-html-print.h
+++ b/mail/em-format-html-print.h
@@ -16,13 +16,32 @@
*
* Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
*/
-#ifndef _EM_FORMAT_HTML_PRINT_H
-#define _EM_FORMAT_HTML_PRINT_H
+
+#ifndef EM_FORMAT_HTML_PRINT_H
+#define EM_FORMAT_HTML_PRINT_H
#include "mail/em-format-html.h"
+/* Standard GObject macros */
#define EM_TYPE_FORMAT_HTML_PRINT \
(em_format_html_print_get_type ())
+#define EM_FORMAT_HTML_PRINT(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST \
+ ((obj), EM_TYPE_FORMAT_HTML_PRINT, EMFormatHTMLPrint))
+#define EM_FORMAT_HTML_PRINT_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_CAST \
+ ((cls), EM_TYPE_FORMAT_HTML_PRINT, EMFormatHTMLPrintClass))
+#define EM_IS_FORMAT_HTML_PRINT(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE \
+ ((obj), EM_TYPE_FORMAT_HTML_PRINT))
+#define EM_IS_FORMAT_HTML_PRINT_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_TYPE \
+ ((cls), EM_TYPE_FORMAT_HTML_PRINT))
+#define EM_FORMAT_HTML_PRINT_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS \
+ ((obj), EM_TYPE_FORMAT_HTML_PRINT, EMFormatHTMLPrintClass))
+
+G_BEGIN_DECLS
typedef struct _EMFormatHTMLPrint EMFormatHTMLPrint;
typedef struct _EMFormatHTMLPrintClass EMFormatHTMLPrintClass;
@@ -40,13 +59,16 @@ struct _EMFormatHTMLPrintClass {
EMFormatHTMLClass parent_class;
};
-GType em_format_html_print_get_type (void);
-EMFormatHTMLPrint * em_format_html_print_new (EMFormatHTML *source,
- GtkPrintOperationAction action);
-void em_format_html_print_message (EMFormatHTMLPrint *efhp,
- CamelFolder *folder,
- const char *uid);
-void em_format_html_print_raw_message (EMFormatHTMLPrint *efhp,
- CamelMimeMessage *msg);
+GType em_format_html_print_get_type (void);
+EMFormatHTMLPrint *
+ em_format_html_print_new (EMFormatHTML *source,
+ GtkPrintOperationAction action);
+void em_format_html_print_message (EMFormatHTMLPrint *efhp,
+ CamelFolder *folder,
+ const gchar *uid);
+void em_format_html_print_raw_message(EMFormatHTMLPrint *efhp,
+ CamelMimeMessage *msg);
+
+G_END_DECLS
-#endif /* ! _EM_FORMAT_HTML_PRINT_H */
+#endif /* EM_FORMAT_HTML_PRINT_H */