aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-formatter.h
diff options
context:
space:
mode:
authorMatthew Loper <mloper@src.gnome.org>2000-02-09 07:18:29 +0800
committerMatthew Loper <mloper@src.gnome.org>2000-02-09 07:18:29 +0800
commit3e5f29f65034bd84afa560c58000ac0ba1695536 (patch)
treeaabfa6bb439c2023e4e3a8b8ccb8d042c13110b3 /camel/camel-formatter.h
parent6e1f98f09afc66e9bdfec631045a250b6c7cace5 (diff)
downloadgsoc2013-evolution-3e5f29f65034bd84afa560c58000ac0ba1695536.tar
gsoc2013-evolution-3e5f29f65034bd84afa560c58000ac0ba1695536.tar.gz
gsoc2013-evolution-3e5f29f65034bd84afa560c58000ac0ba1695536.tar.bz2
gsoc2013-evolution-3e5f29f65034bd84afa560c58000ac0ba1695536.tar.lz
gsoc2013-evolution-3e5f29f65034bd84afa560c58000ac0ba1695536.tar.xz
gsoc2013-evolution-3e5f29f65034bd84afa560c58000ac0ba1695536.tar.zst
gsoc2013-evolution-3e5f29f65034bd84afa560c58000ac0ba1695536.zip
New member to 'CamelFormatterPrivate', 'attachments', will be used to let
* camel/camel-formatter.c: New member to 'CamelFormatterPrivate', 'attachments', will be used to let the caller know which items should be treated as attachments (as opposed to objects which are inline to the body). (text_to_html): name changed from 'encode_entities'. Also now converts newlines to <br> tags. (camel_formatter_mime_message_to_html): Now takes two output streams -- one for the header, and one for the body. (get_bonobo_tag_for_object): New function; tries to make a tag out of (1) the leaf of a mime message and (2) a bonobo object that can handle its mime type, but can return NULL if it fails to find the mime type. (handle_vcard): New function; will write out a vcard as html. svn path=/trunk/; revision=1696
Diffstat (limited to 'camel/camel-formatter.h')
-rw-r--r--camel/camel-formatter.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/camel/camel-formatter.h b/camel/camel-formatter.h
index 30dbc2008e..186ce6b1e2 100644
--- a/camel/camel-formatter.h
+++ b/camel/camel-formatter.h
@@ -34,8 +34,8 @@ extern "C" {
#include "camel.h"
#define CAMEL_FORMATTER_TYPE (camel_formatter_get_type ())
-#define CAMEL_FORMATTER(obj) (GTK_CHECK_CAST((obj), CAMEL_FORMATTER_TYPE, CamelDataWrapper))
-#define CAMEL_FORMATTER_CLASS(k) (GTK_CHECK_CLASS_CAST ((k), CAMEL_FORMATTER_TYPE, CamelDataWrapperClass))
+#define CAMEL_FORMATTER(obj) (GTK_CHECK_CAST((obj), CAMEL_FORMATTER_TYPE, CamelFormatter))
+#define CAMEL_FORMATTER_CLASS(k) (GTK_CHECK_CLASS_CAST ((k), CAMEL_FORMATTER_TYPE, CamelFormatterClass))
#define CAMEL_IS_CAMEL_FORMATTER(o) (GTK_CHECK_TYPE((o), CAMEL_FORMATTER_TYPE))
typedef struct _CamelFormatterPrivate CamelFormatterPrivate;
@@ -63,7 +63,8 @@ CamelFormatter* camel_formatter_new (void);
produce html from it. */
void camel_formatter_mime_message_to_html (CamelFormatter* formatter,
CamelMimeMessage* mime_message,
- CamelStream* stream);
+ CamelStream* header_stream,
+ CamelStream* body_stream);
#ifdef __cplusplus