diff options
author | Not Zed <NotZed@Ximian.com> | 2004-01-15 09:22:55 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-01-15 09:22:55 +0800 |
commit | e70e3982edf25a75bd93bdaf9205cca1167a3d4c (patch) | |
tree | 7cc7d3dd98430d0d38b7f9bc384efe2d805bc4d7 /mail/em-format.h | |
parent | 88eda22854051bec83e2082726b670ba23c7d188 (diff) | |
download | gsoc2013-evolution-e70e3982edf25a75bd93bdaf9205cca1167a3d4c.tar.gz gsoc2013-evolution-e70e3982edf25a75bd93bdaf9205cca1167a3d4c.tar.zst gsoc2013-evolution-e70e3982edf25a75bd93bdaf9205cca1167a3d4c.zip |
** See bugs #51609 and #43515.
2004-01-15 Not Zed <NotZed@Ximian.com>
** See bugs #51609 and #43515.
* em-format-html-display.c (efhd_format_prefix): output flag for
followup details above the message.
(efhd_write_image): added to output icon data.
* em-format-html.c (efh_format_do): call format_prefix before
outputting the message in normal display mode.
* em-format.c (emf_format_prefix): method called to format data
before the first message output. Default impl == noop.
svn path=/trunk/; revision=24230
Diffstat (limited to 'mail/em-format.h')
-rw-r--r-- | mail/em-format.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/em-format.h b/mail/em-format.h index d01b50bc7e..5d41ae0020 100644 --- a/mail/em-format.h +++ b/mail/em-format.h @@ -138,6 +138,10 @@ struct _EMFormatClass { /* start formatting a message */ void (*format_clone)(EMFormat *, struct _CamelFolder *, const char *uid, struct _CamelMimeMessage *, EMFormat *); + + /* called to insert prefix material, after format_clone but before format_message */ + void (*format_prefix)(EMFormat *, struct _CamelStream *); + /* some internel error/inconsistency */ void (*format_error)(EMFormat *, struct _CamelStream *, const char *msg); @@ -196,6 +200,7 @@ void em_format_pull_level(EMFormat *emf); #define em_format_format_clone(emf, folder, uid, msg, src) ((EMFormatClass *)G_OBJECT_GET_CLASS(emf))->format_clone((emf), (folder), (uid), (msg), (src)) /* formats a new message */ #define em_format_format(emf, folder, uid, msg) ((EMFormatClass *)G_OBJECT_GET_CLASS(emf))->format_clone((emf), (folder), (uid), (msg), NULL) +#define em_format_format_prefix(emf, stream) ((EMFormatClass *)G_OBJECT_GET_CLASS(emf))->format_prefix((emf), (stream)) #define em_format_redraw(emf) ((EMFormatClass *)G_OBJECT_GET_CLASS(emf))->format_clone((emf), \ ((EMFormat *)(emf))->folder, \ ((EMFormat *)(emf))->uid, \ |