diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-12-08 04:14:31 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-12-08 04:14:31 +0800 |
commit | 076006fae27f48893000a56fd15d02b60e4d0aa5 (patch) | |
tree | c034772d4e31357e4be36593fc8d740ea997ac7c /em-format/e-mail-formatter-print.h | |
parent | a5b217e49e5429d7d38c372df420d48286e4ba83 (diff) | |
download | gsoc2013-evolution-076006fae27f48893000a56fd15d02b60e4d0aa5.tar.gz gsoc2013-evolution-076006fae27f48893000a56fd15d02b60e4d0aa5.tar.zst gsoc2013-evolution-076006fae27f48893000a56fd15d02b60e4d0aa5.zip |
Add EMailFormatterPrintExtension.
This is an abstract base type for formatter extensions which are
intended only for use by EMailFormatterPrint.
Diffstat (limited to 'em-format/e-mail-formatter-print.h')
-rw-r--r-- | em-format/e-mail-formatter-print.h | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/em-format/e-mail-formatter-print.h b/em-format/e-mail-formatter-print.h index 1783cc068a..ca67a13137 100644 --- a/em-format/e-mail-formatter-print.h +++ b/em-format/e-mail-formatter-print.h @@ -16,10 +16,11 @@ * */ -#ifndef E_MAIL_FORMATTER_PRINT_H_ -#define E_MAIL_FORMATTER_PRINT_H_ +#ifndef E_MAIL_FORMATTER_PRINT_H +#define E_MAIL_FORMATTER_PRINT_H #include <em-format/e-mail-formatter.h> +#include <em-format/e-mail-formatter-extension.h> /* Standard GObject macros */ #define E_TYPE_MAIL_FORMATTER_PRINT \ @@ -54,10 +55,32 @@ struct _EMailFormatterPrintClass { EMailFormatterClass parent_class; }; -GType e_mail_formatter_print_get_type (void); +GType e_mail_formatter_print_get_type (void) G_GNUC_CONST; +EMailFormatter * + e_mail_formatter_print_new (void); -EMailFormatter * e_mail_formatter_print_new (void); +G_END_DECLS + +/* ------------------------------------------------------------------------- */ + +/* Standard GObject macros */ +#define E_TYPE_MAIL_FORMATTER_PRINT_EXTENSION \ + (e_mail_formatter_print_extension_get_type ()) + +G_BEGIN_DECLS + +/** + * EMailFormatterPrintExtension: + * + * This is an abstract base type for formatter extensions which are + * intended only for use by #EMailFormatterPrint. + **/ +typedef EMailFormatterExtension EMailFormatterPrintExtension; +typedef EMailFormatterExtensionClass EMailFormatterPrintExtensionClass; + +GType e_mail_formatter_print_extension_get_type + (void) G_GNUC_CONST; G_END_DECLS -#endif /* E_MAIL_FORMATTER_PRINT_H_ */ +#endif /* E_MAIL_FORMATTER_PRINT_H */ |