aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-reader.h
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2012-06-06 21:27:19 +0800
committerDan Vrátil <dvratil@redhat.com>2012-06-06 21:27:19 +0800
commit5b8340563c271fb684a88c6e5bb6dd3bfb629058 (patch)
treec1c7d606fb4ce9fd2fe459a9226bfb9125423991 /mail/e-mail-reader.h
parent26a4f24188fd89dbabaff192bec9c54af8fe5a80 (diff)
downloadgsoc2013-evolution-5b8340563c271fb684a88c6e5bb6dd3bfb629058.tar.gz
gsoc2013-evolution-5b8340563c271fb684a88c6e5bb6dd3bfb629058.tar.zst
gsoc2013-evolution-5b8340563c271fb684a88c6e5bb6dd3bfb629058.zip
Mail formatter rewrite
All mail-parsing and formatting code has been moved to em-format. Parsing is handeled by EMailParser class, formatting by EMailFormatter. Both classes have registry which hold extensions - simple classes that do actual parsing and formatting. Each supported mime-type has it's own parser and formatter extension class.
Diffstat (limited to 'mail/e-mail-reader.h')
-rw-r--r--mail/e-mail-reader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/e-mail-reader.h b/mail/e-mail-reader.h
index 6f03fc0cfe..b33aee7554 100644
--- a/mail/e-mail-reader.h
+++ b/mail/e-mail-reader.h
@@ -179,6 +179,10 @@ void e_mail_reader_enable_show_folder
void e_mail_reader_avoid_next_mark_as_seen
(EMailReader *reader);
+EMailFormatter * e_mail_reader_get_formatter (EMailReader *reader);
+void e_mail_reader_set_formatter (EMailReader *reader,
+ EMailFormatter *formatter);
+
G_END_DECLS
#endif /* E_MAIL_READER_H */