source: trunk/third/gtkhtml3/src/gtkhtml-types.h @ 19539

Revision 19539, 2.3 KB checked in by ghudson, 21 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r19538, which included commits to RCS files with non-trunk default branches.
Line 
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
29typedef struct _GtkHTML GtkHTML;
30typedef struct _GtkHTMLClass GtkHTMLClass;
31typedef struct _GtkHTMLClassProperties GtkHTMLClassProperties;
32typedef struct _GtkHTMLEditorAPI GtkHTMLEditorAPI;
33typedef struct _GtkHTMLEmbedded GtkHTMLEmbedded;
34typedef struct _GtkHTMLEmbeddedClass GtkHTMLEmbeddedClass;
35typedef struct _GtkHTMLEmbeddedPrivate GtkHTMLEmbeddedPrivate;
36typedef struct _GtkHTMLPrivate GtkHTMLPrivate;
37typedef struct _GtkHTMLStream GtkHTMLStream;
38
39typedef char **(* GtkHTMLStreamTypesFunc) (GtkHTMLStream *stream,
40                                           gpointer user_data);
41typedef void   (* GtkHTMLStreamCloseFunc) (GtkHTMLStream *stream,
42                                           GtkHTMLStreamStatus status,
43                                           gpointer user_data);
44typedef void   (* GtkHTMLStreamWriteFunc) (GtkHTMLStream *stream,
45                                           const gchar *buffer,
46                                           size_t size,
47                                           gpointer user_data);
48
49/* FIXME 1st param should be Engine */
50typedef gboolean (* GtkHTMLSaveReceiverFn)   (gpointer     engine,
51                                              const gchar *data,
52                                              size_t       len,
53                                              gpointer     user_data);
54
55typedef void (*GtkHTMLPrintCallback) (GtkHTML *html, GnomePrintContext *print_context,
56                                      gdouble x, gdouble y, gdouble width, gdouble height, gpointer user_data);
57
58#endif
Note: See TracBrowser for help on using the repository browser.