Code

Pot and Dutch translation update
[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 }
25 /* Editing window */
27 class SPDesktop;
28 class SPDesktopClass;
30 class SPDesktopWidget;
31 class SPDesktopWidgetClass;
33 GType sp_desktop_get_type ();
35 class SPEventContext;
36 class SPEventContextClass;
38 #define SP_TYPE_EVENT_CONTEXT (sp_event_context_get_type ())
39 #define SP_EVENT_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SP_TYPE_EVENT_CONTEXT, SPEventContext))
40 #define SP_IS_EVENT_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SP_TYPE_EVENT_CONTEXT))
42 GType sp_event_context_get_type ();
44 /* Document tree */
46 class SPDocument;
47 class SPDocumentClass;
49 #define SP_TYPE_DOCUMENT (sp_document_get_type ())
50 #define SP_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_DOCUMENT, SPDocument))
51 #define SP_IS_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_DOCUMENT))
53 GType sp_document_get_type ();
55 /* Objects */
57 class SPObject;
58 class SPObjectClass;
60 #define SP_TYPE_OBJECT (sp_object_get_type ())
61 #define SP_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_OBJECT, SPObject))
62 #define SP_OBJECT_CLASS(clazz) (G_TYPE_CHECK_CLASS_CAST((clazz), SP_TYPE_OBJECT, SPObjectClass))
63 #define SP_IS_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_OBJECT))
65 GType sp_object_get_type ();
67 class SPItem;
68 class SPItemClass;
70 #define SP_TYPE_ITEM (sp_item_get_type ())
71 #define SP_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_ITEM, SPItem))
72 #define SP_ITEM_CLASS(clazz) (G_TYPE_CHECK_CLASS_CAST((clazz), SP_TYPE_ITEM, SPItemClass))
73 #define SP_IS_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_ITEM))
75 GType sp_item_get_type ();
77 class SPGroup;
78 class SPGroupClass;
80 class SPDefs;
81 class SPDefsClass;
83 class SPRoot;
84 class SPRootClass;
86 class SPNamedView;
87 class SPNamedViewClass;
89 class SPGuide;
90 class SPGuideClass;
92 class SPObjectGroup;
93 class SPObjectGroupClass;
95 struct SPMarker;
96 struct SPMarkerClass;
97 class SPMarkerReference;
99 class SPPath;
100 class SPPathClass;
102 class SPShape;
103 class SPShapeClass;
105 class SPPolygon;
106 class SPPolygonClass;
108 class SPEllipse;
109 class SPEllipseClass;
111 class SPCircle;
112 class SPCircleClass;
114 class SPArc;
115 class SPArcClass;
117 class SPChars;
118 class SPCharsClass;
120 class SPText;
121 class SPTextClass;
123 class SPTSpan;
124 class SPTSpanClass;
126 class SPString;
127 class SPStringClass;
129 class SPPaintServer;
130 class SPPaintServerClass;
132 class SPStop;
133 class SPStopClass;
135 class SPGradient;
136 class SPGradientClass;
137 class SPGradientReference;
139 class SPLinearGradient;
140 class SPLinearGradientClass;
142 class SPRadialGradient;
143 class SPRadialGradientClass;
145 class SPPattern;
147 class SPClipPath;
148 class SPClipPathClass;
149 class SPClipPathReference;
151 class SPMaskReference;
153 class SPAvoidRef;
155 class SPAnchor;
156 class SPAnchorClass;
158 /* Misc */
160 class ColorRGBA;
162 class SPColor;
164 class SPStyle;
166 class SPEvent;
168 class SPPrintContext;
170 namespace Inkscape {
171 namespace UI {
172 namespace View {
173 class View;
174 };
175 };
176 };
178 class SPViewWidget;
179 class SPViewWidgetClass;
181 class StopOnTrue;
183 namespace Inkscape {
184 class URI;
185 class URIReference;
188 struct box_solution;
191 /* verbs */
193 typedef int sp_verb_t;
194 namespace Inkscape {
195     class Verb;
198 #endif // FORWARD_H_SEEN
200 /*
201   Local Variables:
202   mode:c++
203   c-file-style:"stroustrup"
204   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
205   indent-tabs-mode:nil
206   fill-column:99
207   End:
208 */
209 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :