diff options
author | Dan Vrátil <dvratil@redhat.com> | 2012-06-06 21:27:19 +0800 |
---|---|---|
committer | Dan Vrátil <dvratil@redhat.com> | 2012-06-06 21:27:19 +0800 |
commit | 5b8340563c271fb684a88c6e5bb6dd3bfb629058 (patch) | |
tree | c1c7d606fb4ce9fd2fe459a9226bfb9125423991 /mail/e-mail-reader-utils.h | |
parent | 26a4f24188fd89dbabaff192bec9c54af8fe5a80 (diff) | |
download | gsoc2013-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-utils.h')
-rw-r--r-- | mail/e-mail-reader-utils.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/mail/e-mail-reader-utils.h b/mail/e-mail-reader-utils.h index 6913d0964c..887e399451 100644 --- a/mail/e-mail-reader-utils.h +++ b/mail/e-mail-reader-utils.h @@ -68,7 +68,22 @@ gchar * e_mail_reader_header_to_xml (EMailReaderHeader *header); void e_mail_reader_header_free (EMailReaderHeader *header); void e_mail_reader_connect_headers (EMailReader *reader, - EMFormat *emf); + EMailFormatter *formatter); + +EMailPartList * e_mail_reader_lookup_part_list (EMailReader *reader, + const gchar *uri); + +void e_mail_reader_store_part_list (EMailReader *reader, + const gchar *uri, + EMailPartList *part_list); + +void e_mail_reader_parse_message + (EMailReader *reader, + CamelFolder *folder, + const gchar *message_uid, + CamelMimeMessage *message, + GFunc ready_callback, + gpointer user_data); G_END_DECLS |