diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-12-08 04:22:13 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-12-08 04:22:13 +0800 |
commit | cbb7786a8f3c3fc337806c290efb16888debe501 (patch) | |
tree | 5824ea8ad52b6b91676d3aa44d58cd281c2fbfb1 /em-format/e-mail-formatter-quote.h | |
parent | 076006fae27f48893000a56fd15d02b60e4d0aa5 (diff) | |
download | gsoc2013-evolution-cbb7786a8f3c3fc337806c290efb16888debe501.tar.gz gsoc2013-evolution-cbb7786a8f3c3fc337806c290efb16888debe501.tar.zst gsoc2013-evolution-cbb7786a8f3c3fc337806c290efb16888debe501.zip |
Add EMailFormatterQuoteExtension.
This is an abstract base type for formatter extensions which are
intended only for use by EMailFormatterQuote.
Diffstat (limited to 'em-format/e-mail-formatter-quote.h')
-rw-r--r-- | em-format/e-mail-formatter-quote.h | 35 |
1 files changed, 29 insertions, 6 deletions
diff --git a/em-format/e-mail-formatter-quote.h b/em-format/e-mail-formatter-quote.h index fa6730b964..380f94a806 100644 --- a/em-format/e-mail-formatter-quote.h +++ b/em-format/e-mail-formatter-quote.h @@ -16,10 +16,11 @@ * */ -#ifndef E_MAIL_FORMATTER_QUOTE_H_ -#define E_MAIL_FORMATTER_QUOTE_H_ +#ifndef E_MAIL_FORMATTER_QUOTE_H +#define E_MAIL_FORMATTER_QUOTE_H #include <em-format/e-mail-formatter.h> +#include <em-format/e-mail-formatter-extension.h> /* Standard GObject macros */ #define E_TYPE_MAIL_FORMATTER_QUOTE \ @@ -69,11 +70,33 @@ struct _EMailFormatterQuoteClass { EMailFormatterClass parent_class; }; -GType e_mail_formatter_quote_get_type (void); - -EMailFormatter * e_mail_formatter_quote_new (const gchar *credits, +GType e_mail_formatter_quote_get_type (void) G_GNUC_CONST; +EMailFormatter * + e_mail_formatter_quote_new (const gchar *credits, EMailFormatterQuoteFlags flags); G_END_DECLS -#endif /* E_MAIL_FORMATTER_QUOTE_H_ */ +/* ------------------------------------------------------------------------- */ + +/* Standard GObject macros */ +#define E_TYPE_MAIL_FORMATTER_QUOTE_EXTENSION \ + (e_mail_formatter_quote_extension_get_type ()) + +G_BEGIN_DECLS + +/** + * EMailFormatterQuoteExtension: + * + * This is an abstract base type for formatter extensions which are + * intended only for use by #EMailFormatterQuote. + **/ +typedef EMailFormatterExtension EMailFormatterQuoteExtension; +typedef EMailFormatterExtensionClass EMailFormatterQuoteExtensionClass; + +GType e_mail_formatter_quote_extension_get_type + (void) G_GNUC_CONST; + +G_END_DECLS + +#endif /* E_MAIL_FORMATTER_QUOTE_H */ |