2006-12-03 Dimitris Glezos <dimitris@glezos.com>
[dia.git] / lib / diatypes.h
blobe2482aa8b5588fb6a84335333f657d13d9865297
1 /* Dia -- an diagram creation/manipulation program -*- c -*-
2 * Copyright (C) 1998 Alexander Larsson
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 /** @file diatypes.h -- All externally visible structures should be defined here */
21 #ifndef TYPES_H
22 #define TYPES_H
24 /* In diagramdata.h: */
25 typedef struct _DiagramData DiagramData;
26 typedef struct _Layer Layer;
27 typedef struct _NewDiagramData NewDiagramData;
29 /* In arrows.h: */
30 typedef struct _Arrow Arrow;
32 /* In bezier_conn.h: */
33 typedef struct _BezierConn BezierConn;
35 /* In beziershape.h: */
36 typedef struct _BezierShape BezierShape;
38 /* In boundingbox.h: */
39 typedef struct _PolyBBExtras PolyBBExtras;
40 typedef struct _LineBBExtras LineBBExtras;
41 typedef struct _ElementBBExtras ElementBBExtras;
43 /* In color.h: */
44 typedef struct _Color Color;
46 /* In connection.h: */
47 typedef struct _Connection Connection;
49 /* In connectionpoint.h: */
50 typedef struct _ConnectionPoint ConnectionPoint;
52 /* In create.h: */
53 typedef struct _MultipointCreateData MultipointCreateData;
54 typedef struct _BezierCreateData BezierCreateData;
56 /* In dia_image.h: */
57 typedef struct _DiaImage *DiaImage;
59 /* In diagdkrenderer.h: */
60 typedef struct _DiaGdkRenderer DiaGdkRenderer;
61 typedef struct _DiaGdkRendererClass DiaGdkRendererClass;
62 typedef struct _DDisp DDisp;
64 /* In dialibartrenderer.h: */
65 typedef struct _DiaLibartRenderer DiaLibartRenderer;
66 typedef struct _DiaLibartRendererClass DiaLibartRendererClass;
68 /* In diamenu.h: */
69 typedef struct _DiaMenuItem DiaMenuItem;
70 typedef struct _DiaMenu DiaMenu;
72 /* In diarenderer.h: */
73 typedef struct _BezierApprox BezierApprox;
74 typedef struct _DiaRenderer DiaRenderer;
75 typedef struct _DiaRendererClass DiaRendererClass;
76 typedef struct _DiaInteractiveRendererInterface DiaInteractiveRendererInterface;
77 /* In diasvgrenderer.h: */
78 typedef struct _DiaSvgRenderer DiaSvgRenderer;
79 typedef struct _DiaSvgRendererClass DiaSvgRendererClass;
81 /* In diatransform.h: */
82 typedef struct _DiaTransform DiaTransform;
84 /* In element.h: */
85 typedef struct _Element Element;
87 /* In filter.h: */
88 typedef struct _DiaExportFilter DiaExportFilter;
89 typedef struct _DiaImportFilter DiaImportFilter;
90 typedef struct _DiaCallbackFilter DiaCallbackFilter;
92 /* In focus.h: */
93 typedef struct _Focus Focus;
95 /* In font.h: */
96 typedef struct _DiaFont DiaFont;
97 typedef struct _DiaFontClass DiaFontClass;
99 /* In geometry.h: */
100 typedef struct _Point Point;
101 typedef struct _Rectangle Rectangle;
102 typedef struct _IntRectangle IntRectangle;
103 typedef struct _BezPoint BezPoint;
105 /* In group.h: */
106 typedef struct _Group Group;
108 /* In handle.h: */
109 typedef struct _Handle Handle;
111 /* In neworth_conn.h: */
112 typedef struct _NewOrthConn NewOrthConn;
114 /* In objchange.h: */
115 typedef struct _ObjectState ObjectState;
116 typedef struct _ObjectChange ObjectChange;
118 /* In object.h: */
119 typedef struct _DiaObject DiaObject;
120 typedef struct _ObjectOps ObjectOps;
121 typedef struct _DiaObjectType DiaObjectType;
122 typedef struct _ObjectTypeOps ObjectTypeOps;
124 /* In orth_conn.h: */
125 typedef struct _OrthConn OrthConn;
127 /* In paper.h: */
128 typedef struct _PaperInfo PaperInfo;
130 /* In plug-ins.h: */
131 typedef struct _PluginInfo PluginInfo;
133 /* In poly_conn.h: */
134 typedef struct _PolyConn PolyConn;
136 /* In polyshape.h: */
137 typedef struct _PolyShape PolyShape;
139 /* In properties.h: */
140 typedef struct _PropDescription PropDescription;
141 typedef struct _Property Property;
142 typedef struct _PropEventData PropEventData;
143 typedef struct _PropDialog PropDialog;
144 typedef struct _PropEventHandlerChain PropEventHandlerChain;
145 typedef struct _PropWidgetAssoc PropWidgetAssoc;
146 typedef struct _PropertyOps PropertyOps;
147 typedef struct _PropNumData PropNumData;
148 typedef struct _PropEnumData PropEnumData;
149 typedef struct _PropDescCommonArrayExtra PropDescCommonArrayExtra;
150 typedef struct _PropDescDArrayExtra PropDescDArrayExtra;
151 typedef struct _PropDescSArrayExtra PropDescSArrayExtra;
152 typedef struct _PropOffset PropOffset;
154 /* In ps-utf8.h: */
155 typedef struct _PSFontDescriptor PSFontDescriptor;
156 typedef struct _PSEncodingPage PSEncodingPage;
157 typedef struct _PSUnicoder PSUnicoder;
158 typedef struct _PSUnicoderCallbacks PSUnicoderCallbacks;
160 /* In sheet.h: */
161 typedef struct _Sheet Sheet;
162 typedef struct _SheetObject SheetObject;
164 /* In text.h: */
165 typedef struct _Text Text;
167 /* In textline.h: */
168 typedef struct _TextLine TextLine;
170 /* In textattr.h: */
171 typedef struct _TextAttributes TextAttributes;
173 /* In widgets.h: */
174 typedef struct _DiaSizeSelector DiaSizeSelector;
175 typedef struct _DiaSizeSelectorClass DiaSizeSelectorClass;
176 typedef struct _DiaFontSelector DiaFontSelector;
177 typedef struct _DiaFontSelectorClass DiaFontSelectorClass;
178 typedef struct _DiaAlignmentSelector DiaAlignmentSelector;
179 typedef struct _DiaAlignmentSelectorClass DiaAlignmentSelectorClass;
180 typedef struct _DiaLineStyleSelector DiaLineStyleSelector;
181 typedef struct _DiaLineStyleSelectorClass DiaLineStyleSelectorClass;
182 typedef struct _DiaColorSelector DiaColorSelector;
183 typedef struct _DiaColorSelectorClass DiaColorSelectorClass;
184 typedef struct _DiaArrowSelector DiaArrowSelector;
185 typedef struct _DiaArrowSelectorClass DiaArrowSelectorClass;
186 typedef struct _DiaFileSelector DiaFileSelector;
187 typedef struct _DiaFileSelectorClass DiaFileSelectorClass;
190 #endif