1 #ifndef FORWARD_H_SEEN
2 #define FORWARD_H_SEEN
4 /*
5 * Forward declarations of most used objects
6 *
7 * Author:
8 * Lauris Kaplinski <lauris@kaplinski.com>
9 * Abhishek Sharma
10 *
11 * Copyright (C) 2001-2002 Lauris Kaplinski
12 * Copyright (C) 2001 Ximian, Inc.
13 *
14 * Released under GNU GPL, read the file 'COPYING' for more information
15 */
17 #include <glib-object.h>
19 /* Generic containers */
21 namespace Inkscape {
22 struct Application;
23 struct ApplicationClass;
24 }
26 /* Editing window */
28 class SPDesktop;
29 class SPDesktopClass;
31 class SPDesktopWidget;
32 class SPDesktopWidgetClass;
34 GType sp_desktop_get_type ();
36 class SPEventContext;
37 class SPEventContextClass;
39 #define SP_TYPE_EVENT_CONTEXT (sp_event_context_get_type ())
40 #define SP_EVENT_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SP_TYPE_EVENT_CONTEXT, SPEventContext))
41 #define SP_IS_EVENT_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SP_TYPE_EVENT_CONTEXT))
43 GType sp_event_context_get_type ();
45 /* Document tree */
47 class SPDocument;
48 class SPDocumentClass;
50 /* Objects */
52 class SPGroup;
53 class SPGroupClass;
55 class SPDefs;
56 class SPDefsClass;
58 class SPRoot;
59 class SPRootClass;
61 class SPNamedView;
62 class SPNamedViewClass;
64 class SPGuide;
65 class SPGuideClass;
67 class SPObjectGroup;
68 class SPObjectGroupClass;
70 struct SPMarker;
71 struct SPMarkerClass;
72 class SPMarkerReference;
74 class SPPath;
75 class SPPathClass;
77 class SPShape;
78 class SPShapeClass;
80 class SPPolygon;
81 class SPPolygonClass;
83 class SPEllipse;
84 class SPEllipseClass;
86 class SPCircle;
87 class SPCircleClass;
89 class SPArc;
90 class SPArcClass;
92 class SPChars;
93 class SPCharsClass;
95 class SPText;
96 class SPTextClass;
98 class SPTSpan;
99 class SPTSpanClass;
101 class SPString;
102 class SPStringClass;
104 class SPPaintServer;
105 class SPPaintServerClass;
107 class SPStop;
108 class SPStopClass;
110 class SPGradient;
111 class SPGradientClass;
112 class SPGradientReference;
114 class SPLinearGradient;
115 class SPLinearGradientClass;
117 class SPRadialGradient;
118 class SPRadialGradientClass;
120 class SPPattern;
122 class SPClipPath;
123 class SPClipPathClass;
124 class SPClipPathReference;
126 class SPMaskReference;
128 class SPAvoidRef;
130 class SPAnchor;
131 class SPAnchorClass;
133 /* Misc */
135 class ColorRGBA;
137 class SPColor;
139 class SPStyle;
141 class SPEvent;
143 class SPPrintContext;
145 namespace Inkscape {
146 namespace UI {
147 namespace View {
148 class View;
149 };
150 };
151 };
153 class SPViewWidget;
154 class SPViewWidgetClass;
156 class StopOnTrue;
158 namespace Inkscape {
159 class URI;
160 class URIReference;
161 }
163 struct box_solution;
166 /* verbs */
168 typedef int sp_verb_t;
169 namespace Inkscape {
170 class Verb;
171 }
173 #endif // FORWARD_H_SEEN
175 /*
176 Local Variables:
177 mode:c++
178 c-file-style:"stroustrup"
179 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
180 indent-tabs-mode:nil
181 fill-column:99
182 End:
183 */
184 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :