aboutsummaryrefslogtreecommitdiffstats
path: root/mail/html-stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/html-stream.h')
-rw-r--r--mail/html-stream.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/mail/html-stream.h b/mail/html-stream.h
new file mode 100644
index 0000000000..a058f8357d
--- /dev/null
+++ b/mail/html-stream.h
@@ -0,0 +1,26 @@
+#ifndef _HTML_STREAM_H_
+#define _HTML_STREAM_H_ 1
+
+#include <gtkhtml/gtkhtml.h>
+#include "camel/camel-stream.h"
+
+#define HTML_STREAM_TYPE (html_stream_get_type ())
+#define HTML_STREAM(obj) (GTK_CHECK_CAST((obj), HTML_STREAM_TYPE, HTMLStream))
+#define HTML_STREAM_CLASS(k) (GTK_CHECK_CLASS_CAST ((k), HTML_STREAM_TYPE, HTMLStreamClass))
+#define IS_HTML_STREAM(o) (GTK_CHECK_TYPE((o), HTML_STREAM_TYPE))
+
+typedef struct {
+ CamelStream parent_object;
+ GtkHTML *gtk_html;
+ GtkHTMLStreamHandle *gtk_html_stream;
+} HTMLStream;
+
+typedef struct {
+ CamelStream parent_class;
+} HTMLStreamClass;
+
+
+GtkType html_stream_get_type (void);
+CamelStream *html_stream_new (GtkHTML *html);
+
+#endif /* _HTML_STREAM_H_ */