From cd7c20d152dcaa2b92c3e78822b5243a71a94514 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Mon, 26 Apr 2010 16:42:02 +0200 Subject: Bug #603418 - Custom headers not displayed in message preview --- mail/e-mail-reader-utils.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'mail/e-mail-reader-utils.h') diff --git a/mail/e-mail-reader-utils.h b/mail/e-mail-reader-utils.h index 46c3ea7345..72ad761cc3 100644 --- a/mail/e-mail-reader-utils.h +++ b/mail/e-mail-reader-utils.h @@ -28,6 +28,14 @@ G_BEGIN_DECLS +typedef struct _EMailReaderHeader EMailReaderHeader; + +struct _EMailReaderHeader { + gchar *name; + guint enabled:1; + guint is_default:1; +}; + void e_mail_reader_activate (EMailReader *reader, const gchar *action_name); gboolean e_mail_reader_confirm_delete (EMailReader *reader); @@ -51,6 +59,13 @@ void e_mail_reader_create_vfolder_from_selected (EMailReader *reader, gint filter_type); +EMailReaderHeader * + e_mail_reader_header_from_xml (const gchar *xml); +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); + G_END_DECLS #endif /* E_MAIL_READER_UTILS_H */ -- cgit