~vaifrax/inkscape/bugfix170049

« back to all changes in this revision

Viewing changes to src/forward.h

  • Committer: mental
  • Date: 2006-01-16 02:36:01 UTC
  • Revision ID: mental@users.sourceforge.net-20060116023601-wkr0h7edl5veyudq
moving trunk for module inkscape

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __FORWARD_H__
 
2
#define __FORWARD_H__
 
3
 
 
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
 */
 
15
 
 
16
#include <glib-object.h>
 
17
 
 
18
/* Generic containers */
 
19
 
 
20
namespace Inkscape {
 
21
struct Application;
 
22
struct ApplicationClass;
 
23
}
 
24
 
 
25
/* Editing window */
 
26
 
 
27
class SPDesktop;
 
28
class SPDesktopClass;
 
29
 
 
30
class SPDesktopWidget;
 
31
class SPDesktopWidgetClass;
 
32
 
 
33
GType sp_desktop_get_type ();
 
34
 
 
35
class SPEventContext;
 
36
class SPEventContextClass;
 
37
 
 
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))
 
41
 
 
42
GType sp_event_context_get_type ();
 
43
 
 
44
/* Document tree */
 
45
 
 
46
class SPDocument;
 
47
class SPDocumentClass;
 
48
 
 
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))
 
52
 
 
53
GType sp_document_get_type ();
 
54
 
 
55
/* Objects */
 
56
 
 
57
class SPObject;
 
58
class SPObjectClass;
 
59
 
 
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_IS_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_OBJECT))
 
63
 
 
64
GType sp_object_get_type ();
 
65
 
 
66
class SPItem;
 
67
class SPItemClass;
 
68
 
 
69
#define SP_TYPE_ITEM (sp_item_get_type ())
 
70
#define SP_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_ITEM, SPItem))
 
71
#define SP_IS_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_ITEM))
 
72
 
 
73
GType sp_item_get_type ();
 
74
 
 
75
class SPGroup;
 
76
class SPGroupClass;
 
77
 
 
78
class SPDefs;
 
79
class SPDefsClass;
 
80
 
 
81
class SPRoot;
 
82
class SPRootClass;
 
83
 
 
84
class SPNamedView;
 
85
class SPNamedViewClass;
 
86
 
 
87
class SPGuide;
 
88
class SPGuideClass;
 
89
 
 
90
class SPObjectGroup;
 
91
class SPObjectGroupClass;
 
92
 
 
93
struct SPMarker;
 
94
struct SPMarkerClass;
 
95
class SPMarkerReference;
 
96
 
 
97
class SPPath;
 
98
class SPPathClass;
 
99
 
 
100
class SPShape;
 
101
class SPShapeClass;
 
102
 
 
103
class SPPolygon;
 
104
class SPPolygonClass;
 
105
 
 
106
class SPEllipse;
 
107
class SPEllipseClass;
 
108
 
 
109
class SPCircle;
 
110
class SPCircleClass;
 
111
 
 
112
class SPArc;
 
113
class SPArcClass;
 
114
 
 
115
class SPChars;
 
116
class SPCharsClass;
 
117
 
 
118
class SPText;
 
119
class SPTextClass;
 
120
 
 
121
class SPTSpan;
 
122
class SPTSpanClass;
 
123
 
 
124
class SPString;
 
125
class SPStringClass;
 
126
 
 
127
class SPPaintServer;
 
128
class SPPaintServerClass;
 
129
 
 
130
class SPStop;
 
131
class SPStopClass;
 
132
 
 
133
class SPGradient;
 
134
class SPGradientClass;
 
135
class SPGradientReference;
 
136
 
 
137
class SPLinearGradient;
 
138
class SPLinearGradientClass;
 
139
 
 
140
class SPRadialGradient;
 
141
class SPRadialGradientClass;
 
142
 
 
143
class SPPattern;
 
144
 
 
145
class SPClipPath;
 
146
class SPClipPathClass;
 
147
class SPClipPathReference;
 
148
 
 
149
class SPMaskReference;
 
150
 
 
151
class SPAvoidRef;
 
152
 
 
153
class SPAnchor;
 
154
class SPAnchorClass;
 
155
 
 
156
/* Misc */
 
157
 
 
158
class ColorRGBA;
 
159
 
 
160
class SPColorSpace;
 
161
class SPColor;
 
162
 
 
163
class SPStyle;
 
164
 
 
165
class SPEvent;
 
166
 
 
167
class SPPrintContext;
 
168
 
 
169
namespace Inkscape {
 
170
namespace UI {
 
171
namespace View {
 
172
class View;
 
173
};
 
174
};
 
175
};
 
176
 
 
177
class SPViewWidget;
 
178
class SPViewWidgetClass;
 
179
 
 
180
class StopOnTrue;
 
181
 
 
182
namespace Inkscape {
 
183
class URI;
 
184
class URIReference;
 
185
}
 
186
 
 
187
struct box_solution;
 
188
 
 
189
 
 
190
/* verbs */
 
191
 
 
192
typedef int sp_verb_t;
 
193
namespace Inkscape {
 
194
    class Verb;
 
195
}
 
196
 
 
197
#endif /* !__FORWARD_H__ */
 
198
 
 
199
/*
 
200
  Local Variables:
 
201
  mode:c++
 
202
  c-file-style:"stroustrup"
 
203
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
 
204
  indent-tabs-mode:nil
 
205
  fill-column:99
 
206
  End:
 
207
*/
 
208
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :