1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ |
---|
2 | /* This file is part of the GtkHTML library |
---|
3 | |
---|
4 | Copyright (C) 2000 Helix Code, Inc. |
---|
5 | Author: Radek Doulik <rodo@helixcode.com> |
---|
6 | |
---|
7 | This library is free software; you can redistribute it and/or |
---|
8 | modify it under the terms of the GNU Library 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 | MERCHcANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
15 | Library General Public License for more details. |
---|
16 | |
---|
17 | You should have received a copy of the GNU Library General Public License |
---|
18 | along with this library; see the file COPYING.LIB. If not, write to |
---|
19 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
---|
20 | Boston, MA 02111-1307, USA. |
---|
21 | */ |
---|
22 | |
---|
23 | #ifndef _GTK_HTML_TYPES_H_ |
---|
24 | #define _GTK_HTML_TYPES_H_ |
---|
25 | |
---|
26 | #include <libgnomeprint/gnome-print.h> |
---|
27 | #include "gtkhtml-enums.h" |
---|
28 | |
---|
29 | typedef struct _GtkHTML GtkHTML; |
---|
30 | typedef struct _GtkHTMLClass GtkHTMLClass; |
---|
31 | typedef struct _GtkHTMLClassProperties GtkHTMLClassProperties; |
---|
32 | typedef struct _GtkHTMLEditorAPI GtkHTMLEditorAPI; |
---|
33 | typedef struct _GtkHTMLEmbedded GtkHTMLEmbedded; |
---|
34 | typedef struct _GtkHTMLEmbeddedClass GtkHTMLEmbeddedClass; |
---|
35 | typedef struct _GtkHTMLEmbeddedPrivate GtkHTMLEmbeddedPrivate; |
---|
36 | typedef struct _GtkHTMLPrivate GtkHTMLPrivate; |
---|
37 | typedef struct _GtkHTMLStream GtkHTMLStream; |
---|
38 | |
---|
39 | typedef char **(* GtkHTMLStreamTypesFunc) (GtkHTMLStream *stream, |
---|
40 | gpointer user_data); |
---|
41 | typedef void (* GtkHTMLStreamCloseFunc) (GtkHTMLStream *stream, |
---|
42 | GtkHTMLStreamStatus status, |
---|
43 | gpointer user_data); |
---|
44 | typedef void (* GtkHTMLStreamWriteFunc) (GtkHTMLStream *stream, |
---|
45 | const gchar *buffer, |
---|
46 | size_t size, |
---|
47 | gpointer user_data); |
---|
48 | |
---|
49 | /* FIXME 1st param should be Engine */ |
---|
50 | typedef gboolean (* GtkHTMLSaveReceiverFn) (gpointer engine, |
---|
51 | const gchar *data, |
---|
52 | size_t len, |
---|
53 | gpointer user_data); |
---|
54 | |
---|
55 | typedef void (*GtkHTMLPrintCallback) (GtkHTML *html, GnomePrintContext *print_context, |
---|
56 | gdouble x, gdouble y, gdouble width, gdouble height, gpointer user_data); |
---|
57 | |
---|
58 | #endif |
---|