Code

Inkscape::XML::Document -> Inkscape::XML::DocumentTree (more refactoring ...)
[inkscape.git] / src / forward.h
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  *
10  * Copyright (C) 2001-2002 Lauris Kaplinski
11  * Copyright (C) 2001 Ximian, Inc.
12  *
13  * Released under GNU GPL, read the file 'COPYING' for more information
14  */
16 #include <glib-object.h>
18 /* Generic containers */
20 namespace Inkscape {
21 struct Application;
22 struct ApplicationClass;
23 namespace XML {
24 class Document;
25 class DocumentTree;
26 }
27 }
29 /* Editing window */
31 class SPDesktop;
32 class SPDesktopClass;
34 class SPDesktopWidget;
35 class SPDesktopWidgetClass;
37 GType sp_desktop_get_type ();
39 class SPEventContext;
40 class SPEventContextClass;
42 #define SP_TYPE_EVENT_CONTEXT (sp_event_context_get_type ())
43 #define SP_EVENT_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SP_TYPE_EVENT_CONTEXT, SPEventContext))
44 #define SP_IS_EVENT_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SP_TYPE_EVENT_CONTEXT))
46 GType sp_event_context_get_type ();
48 /* Document tree */
50 class SPDocumentClass;
52 #define SP_TYPE_DOCUMENT (sp_document_get_type ())
53 #define SP_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_DOCUMENT, Document))
54 #define SP_IS_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_DOCUMENT))
56 GType sp_document_get_type ();
58 /* Objects */
60 class SPObject;
61 class SPObjectClass;
63 #define SP_TYPE_OBJECT (sp_object_get_type ())
64 #define SP_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_OBJECT, SPObject))
65 #define SP_OBJECT_CLASS(clazz) (G_TYPE_CHECK_CLASS_CAST((clazz), SP_TYPE_OBJECT, SPObjectClass))
66 #define SP_IS_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_OBJECT))
68 GType sp_object_get_type ();
70 class SPItem;
71 class SPItemClass;
73 #define SP_TYPE_ITEM (sp_item_get_type ())
74 #define SP_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_ITEM, SPItem))
75 #define SP_ITEM_CLASS(clazz) (G_TYPE_CHECK_CLASS_CAST((clazz), SP_TYPE_ITEM, SPItemClass))
76 #define SP_IS_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_ITEM))
78 GType sp_item_get_type ();
80 class SPGroup;
81 class SPGroupClass;
83 class SPDefs;
84 class SPDefsClass;
86 class SPRoot;
87 class SPRootClass;
89 class SPNamedView;
90 class SPNamedViewClass;
92 class SPGuide;
93 class SPGuideClass;
95 class SPObjectGroup;
96 class SPObjectGroupClass;
98 struct SPMarker;
99 struct SPMarkerClass;
100 class SPMarkerReference;
102 class SPPath;
103 class SPPathClass;
105 class SPShape;
106 class SPShapeClass;
108 class SPPolygon;
109 class SPPolygonClass;
111 class SPEllipse;
112 class SPEllipseClass;
114 class SPCircle;
115 class SPCircleClass;
117 class SPArc;
118 class SPArcClass;
120 class SPChars;
121 class SPCharsClass;
123 class SPText;
124 class SPTextClass;
126 class SPTSpan;
127 class SPTSpanClass;
129 class SPString;
130 class SPStringClass;
132 class SPPaintServer;
133 class SPPaintServerClass;
135 class SPStop;
136 class SPStopClass;
138 class SPGradient;
139 class SPGradientClass;
140 class SPGradientReference;
142 class SPLinearGradient;
143 class SPLinearGradientClass;
145 class SPRadialGradient;
146 class SPRadialGradientClass;
148 class SPPattern;
150 class SPClipPath;
151 class SPClipPathClass;
152 class SPClipPathReference;
154 class SPMaskReference;
156 class SPAvoidRef;
158 class SPAnchor;
159 class SPAnchorClass;
161 /* Misc */
163 class ColorRGBA;
165 class SPColor;
167 class SPStyle;
169 class SPEvent;
171 class SPPrintContext;
173 namespace Inkscape {
174 namespace UI {
175 namespace View {
176 class View;
177 };
178 };
179 };
181 class SPViewWidget;
182 class SPViewWidgetClass;
184 class StopOnTrue;
186 namespace Inkscape {
187 class URI;
188 class URIReference;
191 struct box_solution;
194 /* verbs */
196 typedef int sp_verb_t;
197 namespace Inkscape {
198     class Verb;
201 #endif // FORWARD_H_SEEN
203 /*
204   Local Variables:
205   mode:c++
206   c-file-style:"stroustrup"
207   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
208   indent-tabs-mode:nil
209   fill-column:99
210   End:
211 */
212 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :