source: trunk/third/gtkhtml3/src/htmltypes.h @ 21116

Revision 21116, 6.5 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21115, 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 _HTMLButton HTMLButton;
40typedef struct _HTMLButtonClass HTMLButtonClass;
41typedef struct _HTMLCheckBox HTMLCheckBox;
42typedef struct _HTMLCheckBoxClass HTMLCheckBoxClass;
43typedef struct _HTMLClue HTMLClue;
44typedef struct _HTMLClueAligned HTMLClueAligned;
45typedef struct _HTMLClueAlignedClass HTMLClueAlignedClass;
46typedef struct _HTMLClueClass HTMLClueClass;
47typedef struct _HTMLClueFlow HTMLClueFlow;
48typedef struct _HTMLClueFlowClass HTMLClueFlowClass;
49typedef struct _HTMLClueH HTMLClueH;
50typedef struct _HTMLClueHClass HTMLClueHClass;
51typedef struct _HTMLClueV HTMLClueV;
52typedef struct _HTMLClueVClass HTMLClueVClass;
53typedef struct _HTMLColor HTMLColor;
54typedef struct _HTMLColorSet HTMLColorSet;
55typedef struct _HTMLCursor HTMLCursor;
56typedef struct _HTMLCursorRectagle HTMLCursorRectangle;
57typedef struct _HTMLDrawQueue HTMLDrawQueue;
58typedef struct _HTMLDrawQueueClearElement HTMLDrawQueueClearElement;
59typedef struct _HTMLEmbedded HTMLEmbedded;
60typedef struct _HTMLEmbeddedClass HTMLEmbeddedClass;
61typedef struct _HTMLEngine HTMLEngine;
62typedef struct _HTMLEngineClass HTMLEngineClass;
63typedef struct _HTMLEngineEditSelectionUpdater HTMLEngineEditSelectionUpdater;
64typedef struct _HTMLEngineSaveState HTMLEngineSaveState;
65typedef gchar HTMLFontFace;
66typedef struct _HTMLFont HTMLFont;
67typedef struct _HTMLFontManager HTMLFontManager;
68typedef struct _HTMLFontSet HTMLFontSet;
69typedef struct _HTMLForm HTMLForm;
70typedef struct _HTMLFrame HTMLFrame;
71typedef struct _HTMLFrameClass HTMLFrameClass;
72typedef struct _HTMLFrameset HTMLFrameset;
73typedef struct _HTMLFramesetClass HTMLFramesetClass;
74typedef struct _HTMLGdkPainter HTMLGdkPainter;
75typedef struct _HTMLGdkPainterClass HTMLGdkPainterClass;
76typedef struct _HTMLHidden HTMLHidden;
77typedef struct _HTMLHiddenClass HTMLHiddenClass;
78typedef struct _HTMLHSpace HTMLHSpace;
79typedef struct _HTMLHSpaceClass HTMLHSpaceClass;
80typedef struct _HTMLIFrame HTMLIFrame;
81typedef struct _HTMLIFrameClass HTMLIFrameClass;
82typedef struct _HTMLImage HTMLImage;
83typedef struct _HTMLImageAnimation HTMLImageAnimation;
84typedef struct _HTMLImageClass HTMLImageClass;
85typedef struct _HTMLImageFactory HTMLImageFactory;
86typedef struct _HTMLImageInput HTMLImageInput;
87typedef struct _HTMLImageInputClass HTMLImageInputClass;
88typedef struct _HTMLImagePointer HTMLImagePointer;
89typedef struct _HTMLInterval HTMLInterval;
90typedef struct _HTMLList HTMLList;
91typedef struct _HTMLMap HTMLMap;
92typedef struct _HTMLMapClass HTMLMapClass;
93typedef struct _HTMLObject HTMLObject;
94typedef struct _HTMLObjectClass HTMLObjectClass;
95typedef struct _HTMLObjectClearRectangle HTMLObjectClearRectangle;
96typedef struct _HTMLPainter HTMLPainter;
97typedef struct _HTMLPainterClass HTMLPainterClass;
98typedef struct _HTMLPangoAttrFontSize HTMLPangoAttrFontSize;
99typedef struct _HTMLPoint HTMLPoint;
100typedef struct _HTMLPrinter HTMLPrinter;
101typedef struct _HTMLPrinterClass HTMLPrinterClass;
102typedef struct _HTMLRadio HTMLRadio;
103typedef struct _HTMLRadioClass HTMLRadioClass;
104typedef struct _HTMLReplace HTMLReplace;
105typedef struct _HTMLRule HTMLRule;
106typedef struct _HTMLRuleClass HTMLRuleClass;
107typedef struct _HTMLSelect HTMLSelect;
108typedef struct _HTMLSelectClass HTMLSelectClass;
109typedef struct _HTMLSearch HTMLSearch;
110typedef struct _HTMLSettings HTMLSettings;
111typedef struct _HTMLStack HTMLStack;
112typedef struct _HTMLStringTokenizer HTMLStringTokenizer;
113typedef struct _HTMLTable HTMLTable;
114typedef struct _HTMLTableCell HTMLTableCell;
115typedef struct _HTMLTableCellClass HTMLTableCellClass;
116typedef struct _HTMLTableClass HTMLTableClass;
117typedef struct _HTMLText HTMLText;
118typedef struct _HTMLTextPangoInfoEntry HTMLTextPangoInfoEntry;
119typedef struct _HTMLTextPangoInfo HTMLTextPangoInfo;
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 _SpellError SpellError;
133typedef struct _Link Link;
134
135typedef void     (* HTMLObjectForallFunc)       (HTMLObject        *self,
136                                                 HTMLEngine        *e,
137                                                 gpointer          data);
138typedef gpointer (* HTMLFontManagerAllocFont)   (gchar            *face_name,
139                                                 gdouble           size,
140                                                 GtkHTMLFontStyle  style);
141typedef void     (* HTMLFontManagerRefFont)     (gpointer          font);
142typedef void     (* HTMLFontManagerUnrefFont)   (gpointer          font);
143typedef void     (* HTMLStackFreeFunc)          (gpointer          data);
144typedef void     (* HTMLUndoFunc)               (HTMLEngine        *engine,
145                                                 HTMLUndoData      *data,
146                                                 HTMLUndoDirection  dir,
147                                                 guint              position_after);
148typedef void     (* HTMLUndoDataDestroyFunc)    (HTMLUndoData      *data);
149
150/* FIXME */
151typedef GtkHTMLSaveReceiverFn HTMLEngineSaveReceiverFn;
152
153#endif
Note: See TracBrowser for help on using the repository browser.