|
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_MIME_PART_VIEW_H |
|---|
| 2 |
#define TNY_GTK_HTML_MIME_PART_VIEW_H |
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
#include <gtkhtml/gtkhtml.h> |
|---|
| 25 |
|
|---|
| 26 |
#include <glib-object.h> |
|---|
| 27 |
#include <tny-shared.h> |
|---|
| 28 |
|
|---|
| 29 |
#include <tny-mime-part-view.h> |
|---|
| 30 |
#include <tny-stream.h> |
|---|
| 31 |
#include <tny-mime-part.h> |
|---|
| 32 |
|
|---|
| 33 |
G_BEGIN_DECLS |
|---|
| 34 |
|
|---|
| 35 |
#define TNY_TYPE_GTK_HTML_MIME_PART_VIEW (tny_gtk_html_mime_part_view_get_type ()) |
|---|
| 36 |
#define TNY_GTK_HTML_MIME_PART_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TNY_TYPE_GTK_HTML_MIME_PART_VIEW, TnyGtkHtmlMimePartView)) |
|---|
| 37 |
#define TNY_GTK_HTML_MIME_PART_VIEW_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), TNY_TYPE_GTK_HTML_MIME_PART_VIEW, TnyGtkHtmlMimePartViewClass)) |
|---|
| 38 |
#define TNY_IS_GTK_HTML_MIME_PART_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TNY_TYPE_GTK_HTML_MIME_PART_VIEW)) |
|---|
| 39 |
#define TNY_IS_GTK_HTML_MIME_PART_VIEW_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), TNY_TYPE_GTK_HTML_MIME_PART_VIEW)) |
|---|
| 40 |
#define TNY_GTK_HTML_MIME_PART_VIEW_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), TNY_TYPE_GTK_HTML_MIME_PART_VIEW, TnyGtkHtmlMimePartViewClass)) |
|---|
| 41 |
|
|---|
| 42 |
typedef struct _TnyGtkHtmlMimePartView TnyGtkHtmlMimePartView; |
|---|
| 43 |
typedef struct _TnyGtkHtmlMimePartViewClass TnyGtkHtmlMimePartViewClass; |
|---|
| 44 |
|
|---|
| 45 |
struct _TnyGtkHtmlMimePartView |
|---|
| 46 |
{ |
|---|
| 47 |
GtkHTML parent; |
|---|
| 48 |
}; |
|---|
| 49 |
|
|---|
| 50 |
struct _TnyGtkHtmlMimePartViewClass |
|---|
| 51 |
{ |
|---|
| 52 |
GtkHTMLClass parent_class; |
|---|
| 53 |
}; |
|---|
| 54 |
|
|---|
| 55 |
GType tny_gtk_html_mime_part_view_get_type (void); |
|---|
| 56 |
TnyMimePartView* tny_gtk_html_mime_part_view_new (TnyStatusCallback status_callback, gpointer status_user_data); |
|---|
| 57 |
|
|---|
| 58 |
G_END_DECLS |
|---|
| 59 |
|
|---|
| 60 |
#endif |
|---|