aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-reader-utils.h
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-04-26 22:42:02 +0800
committerMilan Crha <mcrha@redhat.com>2010-04-26 22:42:02 +0800
commitcd7c20d152dcaa2b92c3e78822b5243a71a94514 (patch)
tree3e0ae9951834a407611d3032d0ff4606e1c54755 /mail/e-mail-reader-utils.h
parentbfd1a13f60b3b0bf914ce6d6e92f097c1ee05197 (diff)
downloadgsoc2013-evolution-cd7c20d152dcaa2b92c3e78822b5243a71a94514.tar.gz
gsoc2013-evolution-cd7c20d152dcaa2b92c3e78822b5243a71a94514.tar.zst
gsoc2013-evolution-cd7c20d152dcaa2b92c3e78822b5243a71a94514.zip
Bug #603418 - Custom headers not displayed in message preview
Diffstat (limited to 'mail/e-mail-reader-utils.h')
-rw-r--r--mail/e-mail-reader-utils.h15
1 files changed, 15 insertions, 0 deletions
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 */