source: trunk/third/gtkhtml/src/htmltypes.h @ 16784

Revision 16784, 6.5 KB checked in by ghudson, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r16783, 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 _HTML_TYPES_H_
24#define _HTML_TYPES_H_
25
26#include <glib.h>
27
28#include "gtkhtml-enums.h"
29#include "gtkhtml-types.h"
30
31#include "htmlenums.h"
32
33#define HTML_CHECK_TYPE(object, otype) ((object) \
34                                        && (HTML_OBJECT (object))->klass \
35                                        && (HTML_OBJECT (object))->klass->type == otype)
36
37typedef struct _HTMLAnchor HTMLAnchor;
38typedef struct _HTMLAnchorClass HTMLAnchorClass;
39typedef struct _HTMLBlockStackElement HTMLBlockStackElement;
40typedef struct _HTMLButton HTMLButton;
41typedef struct _HTMLButtonClass HTMLButtonClass;
42typedef struct _HTMLCheckBox HTMLCheckBox;
43typedef struct _HTMLCheckBoxClass HTMLCheckBoxClass;
44typedef struct _HTMLClue HTMLClue;
45typedef struct _HTMLClueAligned HTMLClueAligned;
46typedef struct _HTMLClueAlignedClass HTMLClueAlignedClass;
47typedef struct _HTMLClueClass HTMLClueClass;
48typedef struct _HTMLClueFlow HTMLClueFlow;
49typedef struct _HTMLClueFlowClass HTMLClueFlowClass;
50typedef struct _HTMLClueH HTMLClueH;
51typedef struct _HTMLClueHClass HTMLClueHClass;
52typedef struct _HTMLClueV HTMLClueV;
53typedef struct _HTMLClueVClass HTMLClueVClass;
54typedef struct _HTMLColor HTMLColor;
55typedef struct _HTMLColorSet HTMLColorSet;
56typedef struct _HTMLCursor HTMLCursor;
57typedef struct _HTMLCursorRectagle HTMLCursorRectangle;
58typedef struct _HTMLDrawQueue HTMLDrawQueue;
59typedef struct _HTMLDrawQueueClearElement HTMLDrawQueueClearElement;
60typedef struct _HTMLEmbedded HTMLEmbedded;
61typedef struct _HTMLEmbeddedClass HTMLEmbeddedClass;
62typedef struct _HTMLEngine HTMLEngine;
63typedef struct _HTMLEngineClass HTMLEngineClass;
64typedef struct _HTMLEngineEditSelectionUpdater HTMLEngineEditSelectionUpdater;
65typedef struct _HTMLEngineSaveState HTMLEngineSaveState;
66typedef gchar HTMLFontFace;
67typedef struct _HTMLFont HTMLFont;
68typedef struct _HTMLFontManager HTMLFontManager;
69typedef struct _HTMLFontSet HTMLFontSet;
70typedef struct _HTMLForm HTMLForm;
71typedef struct _HTMLFrame HTMLFrame;
72typedef struct _HTMLFrameClass HTMLFrameClass;
73typedef struct _HTMLFrameset HTMLFrameset;
74typedef struct _HTMLFramesetClass HTMLFramesetClass;
75typedef struct _HTMLGdkPainter HTMLGdkPainter;
76typedef struct _HTMLGdkPainterClass HTMLGdkPainterClass;
77typedef struct _HTMLHidden HTMLHidden;
78typedef struct _HTMLHiddenClass HTMLHiddenClass;
79typedef struct _HTMLHSpace HTMLHSpace;
80typedef struct _HTMLHSpaceClass HTMLHSpaceClass;
81typedef struct _HTMLIFrame HTMLIFrame;
82typedef struct _HTMLIFrameClass HTMLIFrameClass;
83typedef struct _HTMLImage HTMLImage;
84typedef struct _HTMLImageAnimation HTMLImageAnimation;
85typedef struct _HTMLImageClass HTMLImageClass;
86typedef struct _HTMLImageFactory HTMLImageFactory;
87typedef struct _HTMLImageInput HTMLImageInput;
88typedef struct _HTMLImageInputClass HTMLImageInputClass;
89typedef struct _HTMLImagePointer HTMLImagePointer;
90typedef struct _HTMLInterval HTMLInterval;
91typedef struct _HTMLLinkText HTMLLinkText;
92typedef struct _HTMLLinkTextClass HTMLLinkTextClass;
93typedef struct _HTMLList HTMLList;
94typedef struct _HTMLMap HTMLMap;
95typedef struct _HTMLMapClass HTMLMapClass;
96typedef struct _HTMLObject HTMLObject;
97typedef struct _HTMLObjectClass HTMLObjectClass;
98typedef struct _HTMLObjectClearRectangle HTMLObjectClearRectangle;
99typedef struct _HTMLPainter HTMLPainter;
100typedef struct _HTMLPainterClass HTMLPainterClass;
101typedef struct _HTMLPoint HTMLPoint;
102typedef struct _HTMLPrinter HTMLPrinter;
103typedef struct _HTMLPrinterClass HTMLPrinterClass;
104typedef struct _HTMLRadio HTMLRadio;
105typedef struct _HTMLRadioClass HTMLRadioClass;
106typedef struct _HTMLReplace HTMLReplace;
107typedef struct _HTMLRule HTMLRule;
108typedef struct _HTMLRuleClass HTMLRuleClass;
109typedef struct _HTMLSelect HTMLSelect;
110typedef struct _HTMLSelectClass HTMLSelectClass;
111typedef struct _HTMLSearch HTMLSearch;
112typedef struct _HTMLSettings HTMLSettings;
113typedef struct _HTMLStack HTMLStack;
114typedef struct _HTMLStringTokenizer HTMLStringTokenizer;
115typedef struct _HTMLTable HTMLTable;
116typedef struct _HTMLTableCell HTMLTableCell;
117typedef struct _HTMLTableCellClass HTMLTableCellClass;
118typedef struct _HTMLTableClass HTMLTableClass;
119typedef struct _HTMLText HTMLText;
120typedef struct _HTMLTextArea HTMLTextArea;
121typedef struct _HTMLTextAreaClass HTMLTextAreaClass;
122typedef struct _HTMLTextClass HTMLTextClass;
123typedef struct _HTMLTextInput HTMLTextInput;
124typedef struct _HTMLTextInputClass HTMLTextInputClass;
125typedef struct _HTMLTextSlave HTMLTextSlave;
126typedef struct _HTMLTextSlaveClass HTMLTextSlaveClass;
127typedef struct _HTMLTokenizer HTMLTokenizer;
128typedef struct _HTMLTokenizerClass HTMLTokenizerClass;
129typedef struct _HTMLUndo HTMLUndo;
130typedef struct _HTMLUndoData HTMLUndoData;
131typedef struct _HTMLUndoAction HTMLUndoAction;
132typedef struct _HTMLVSpace HTMLVSpace;
133typedef struct _HTMLVSpaceClass HTMLVSpaceClass;
134typedef struct _SpellError SpellError;
135
136typedef void     (* HTMLObjectForallFunc)       (HTMLObject        *self,
137                                                 HTMLEngine        *e,
138                                                 gpointer          data);
139typedef gpointer (* HTMLFontManagerAllocFont)   (gchar            *face_name,
140                                                 gdouble           size,
141                                                 GtkHTMLFontStyle  style);
142typedef void     (* HTMLFontManagerRefFont)     (gpointer          font);
143typedef void     (* HTMLFontManagerUnrefFont)   (gpointer          font);
144typedef void     (* HTMLStackFreeFunc)          (gpointer          data);
145typedef void     (* HTMLUndoFunc)               (HTMLEngine        *engine,
146                                                 HTMLUndoData      *data,
147                                                 HTMLUndoDirection  dir,
148                                                 guint              position_after);
149typedef void     (* HTMLUndoDataDestroyFunc)    (HTMLUndoData      *data);
150
151/* FIXME */
152typedef GtkHTMLSaveReceiverFn HTMLEngineSaveReceiverFn;
153
154#endif
Note: See TracBrowser for help on using the repository browser.