root/trunk/libtinymailui-webkit/tny-webkit-stream.h

Revision 3225 (checked in by pvanhoof, 2 years ago)

Some future webkit code

Line 
1 #ifndef TNY_WEBKIT_STREAM_H
2 #define TNY_WEBKIT_STREAM_H
3
4 /* libtinymailui-webkit - The Tiny Mail UI library for Webkit
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
29
30 G_BEGIN_DECLS
31
32 #define TNY_TYPE_WEBKIT_STREAM             (tny_webkit_stream_get_type ())
33 #define TNY_WEBKIT_STREAM(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), TNY_TYPE_WEBKIT_STREAM, TnyWebkitStream))
34 #define TNY_WEBKIT_STREAM_CLASS(vtable)    (G_TYPE_CHECK_CLASS_CAST ((vtable), TNY_TYPE_WEBKIT_STREAM, TnyWebkitStreamClass))
35 #define TNY_IS_WEBKIT_STREAM(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TNY_TYPE_WEBKIT_STREAM))
36 #define TNY_IS_WEBKIT_STREAM_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), TNY_TYPE_WEBKIT_STREAM))
37 #define TNY_WEBKIT_STREAM_GET_CLASS(inst)  (G_TYPE_INSTANCE_GET_CLASS ((inst), TNY_TYPE_WEBKIT_STREAM, TnyWebkitStreamClass))
38
39 typedef struct _TnyWebkitStream TnyWebkitStream;
40 typedef struct _TnyWebkitStreamClass TnyWebkitStreamClass;
41 typedef struct _TnyWebkitStreamPriv TnyWebkitStreamPriv;
42
43 struct _TnyWebkitStream
44 {
45         GObject parent;
46         TnyWebkitStreamPriv *priv;
47 };
48
49 struct _TnyWebkitStreamClass
50 {
51         GObjectClass parent;
52 };
53
54 GType tny_webkit_stream_get_type (void);
55 TnyStream* tny_webkit_stream_new (TnyMimePartView *part_view);
56
57
58 G_END_DECLS
59
60 #endif
61
Note: See TracBrowser for help on using the browser.