diff options
author | Matthew Loper <mloper@src.gnome.org> | 2000-01-24 22:43:06 +0800 |
---|---|---|
committer | Matthew Loper <mloper@src.gnome.org> | 2000-01-24 22:43:06 +0800 |
commit | f64b3bb5f2d3f4fa6e05fcc9223aff78fd8c2f12 (patch) | |
tree | f589a7f3b115af6076055c2b790b13af0fe2975c /camel/camel-formatter.h | |
parent | 13429d5ff13d94a68148a7f16bf954c8939f3f19 (diff) | |
download | gsoc2013-evolution-f64b3bb5f2d3f4fa6e05fcc9223aff78fd8c2f12.tar.gz gsoc2013-evolution-f64b3bb5f2d3f4fa6e05fcc9223aff78fd8c2f12.tar.zst gsoc2013-evolution-f64b3bb5f2d3f4fa6e05fcc9223aff78fd8c2f12.zip |
new function, broken out from 'camel_formatter_make_html'.
* camel/camel-formatter.c (write_header_info_to_stream): new
function, broken out from 'camel_formatter_make_html'.
(write_mimepart_to_stream): same.
(find_text_body_part_in_multipart_related): new function.
(camel_formatter_make_html): Now tries to deal with
multipart/related, multipart/alternate, and text/(plain|html).
svn path=/trunk/; revision=1619
Diffstat (limited to 'camel/camel-formatter.h')
-rw-r--r-- | camel/camel-formatter.h | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/camel/camel-formatter.h b/camel/camel-formatter.h index 16942fc5ce..1bcbb2d01a 100644 --- a/camel/camel-formatter.h +++ b/camel/camel-formatter.h @@ -25,8 +25,13 @@ #ifndef CAMEL_FORMATTER_H #define CAMEL_FORMATTER_H +#ifdef __cplusplus +extern "C" { +#pragma } +#endif /* __cplusplus }*/ + #include <gtk/gtk.h> -#include "camel-mime-message.h" +#include "camel.h" #define CAMEL_FORMATTER_TYPE (camel_formatter_get_type ()) #define CAMEL_FORMATTER(obj) (GTK_CHECK_CAST((obj), CAMEL_FORMATTER_TYPE, CamelDataWrapper)) @@ -35,11 +40,13 @@ typedef struct _CamelFormatterPrivate CamelFormatterPrivate; -typedef struct +typedef struct _CamelFormatter CamelFormatter; + +struct _CamelFormatter { GtkObject parent_object; CamelFormatterPrivate *priv; -} CamelFormatter; +}; typedef struct { GtkObjectClass parent_class; @@ -50,7 +57,7 @@ typedef struct { GtkType camel_formatter_get_type (void); /* Public functions */ -CamelFormatter* camel_formatter_new (); +CamelFormatter* camel_formatter_new (void); /* The main job of CamelFormatter is to take a mime message, and produce html from it. */ @@ -58,5 +65,10 @@ void camel_formatter_make_html (CamelFormatter* cmf, CamelMimeMessage *msg, CamelStream* stream_out); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif // CAMEL_FORMATTER_H |