aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-display.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-display.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-display.h')
-rw-r--r--mail/e-mail-display.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/mail/e-mail-display.h b/mail/e-mail-display.h
index 9865a3ee37..e19895623a 100644
--- a/mail/e-mail-display.h
+++ b/mail/e-mail-display.h
@@ -24,7 +24,8 @@
#include <misc/e-web-view.h>
#include <misc/e-search-bar.h>
-#include "em-format-html.h"
+
+#include <em-format/e-mail-formatter.h>
/* Standard GObject macros */
#define E_TYPE_MAIL_DISPLAY \
@@ -62,13 +63,16 @@ struct _EMailDisplayClass {
};
GType e_mail_display_get_type (void);
-EMFormatHTML * e_mail_display_get_formatter (EMailDisplay *display);
-void e_mail_display_set_formatter (EMailDisplay *display,
- EMFormatHTML *formatter);
void e_mail_display_set_mode (EMailDisplay *display,
- EMFormatWriteMode mode);
-EMFormatWriteMode e_mail_display_get_mode (EMailDisplay *display);
+ EMailFormatterMode mode);
+EMailFormatterMode e_mail_display_get_mode (EMailDisplay *display);
+
+EMailPartList * e_mail_display_get_parts_list (EMailDisplay *display);
+
+void e_mail_display_set_parts_list (EMailDisplay *display,
+ EMailPartList *parts_list);
+
void e_mail_display_set_headers_collapsable
(EMailDisplay *display,
gboolean collapsable);