root/trunk/libtinymailui-gtkhtml/tny-gtk-html-stream.h

Revision 3287 (checked in by pvanhoof, 11 months ago)

2008-01-22 Philip Van Hoof <pvanhoof@gnome.org>

        • Added support for GtkHTML in libtinymailui-gtkhtml. This is highly

experimental and unfinished at this moment

        • Fixed several compiler warnings, and cleaned up some code
        • This was a minor API change
Line 
1 #ifndef TNY_GTK_HTML_STREAM_H
2 #define TNY_GTK_HTML_STREAM_H
3
4 /* libtinymailui-gtkhtml - The Tiny Mail UI library for GtkHtml
5  * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org>
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with self library; if not, write to the
19  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  * Boston, MA 02110-1301, USA.
21  */
22
23 #include <glib.h>
24 #include <gtk/gtk.h>
25 #include <glib-object.h>
26
27 #include <tny-stream.h>
28 #include <tny-mime-part-view.h>
29
30 #include <gtkhtml/gtkhtml.h>
31
32
33 G_BEGIN_DECLS
34
35 #define TNY_TYPE_GTK_HTML_STREAM             (tny_gtk_html_stream_get_type ())
36 #define TNY_GTK_HTML_STREAM(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), TNY_TYPE_GTK_HTML_STREAM, TnyGtkHtmlStream))
37 #define TNY_GTK_HTML_STREAM_CLASS(vtable)    (G_TYPE_CHECK_CLASS_CAST ((vtable), TNY_TYPE_GTK_HTML_STREAM, TnyGtkHtmlStreamClass))
38 #define TNY_IS_GTK_HTML_STREAM(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TNY_TYPE_GTK_HTML_STREAM))
39 #define TNY_IS_GTK_HTML_STREAM_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), TNY_TYPE_GTK_HTML_STREAM))
40 #define TNY_GTK_HTML_STREAM_GET_CLASS(inst)  (G_TYPE_INSTANCE_GET_CLASS ((inst), TNY_TYPE_GTK_HTML_STREAM, TnyGtkHtmlStreamClass))
41
42 typedef struct _TnyGtkHtmlStream TnyGtkHtmlStream;
43 typedef struct _TnyGtkHtmlStreamClass TnyGtkHtmlStreamClass;
44 typedef struct _TnyGtkHtmlStreamPriv TnyGtkHtmlStreamPriv;
45
46 struct _TnyGtkHtmlStream
47 {
48         GObject parent;
49         TnyGtkHtmlStreamPriv *priv;
50 };
51
52 struct _TnyGtkHtmlStreamClass
53 {
54         GObjectClass parent;
55 };
56
57 GType tny_gtk_html_stream_get_type (void);
58 TnyStream* tny_gtk_html_stream_new (GtkHTMLStream* stream);
59
60
61 G_END_DECLS
62
63 #endif
64
Note: See TracBrowser for help on using the browser.