Code

copyedit
[inkscape.git] / src / live_effects / lpeobject.h
1 #ifndef INKSCAPE_LIVEPATHEFFECT_OBJECT_H\r
2 #define INKSCAPE_LIVEPATHEFFECT_OBJECT_H\r
3 \r
4 /*\r
5  * Inkscape::LivePathEffect\r
6  *\r
7 * Copyright (C) Johan Engelen 2007 <j.b.c.engelen@utwente.nl>\r
8  *\r
9  * Released under GNU GPL, read the file 'COPYING' for more information\r
10  */\r
11  \r
12 #include "sp-object.h"\r
13 #include "effect.h"\r
14 \r
15 #define TYPE_LIVEPATHEFFECT  (livepatheffect_get_type())\r
16 #define LIVEPATHEFFECT(o)    (G_TYPE_CHECK_INSTANCE_CAST((o), TYPE_LIVEPATHEFFECT, LivePathEffectObject))\r
17 #define IS_LIVEPATHEFFECT(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), TYPE_LIVEPATHEFFECT))\r
18 \r
19 /*\r
20 namespace Inkscape {\r
21 namespace LivePathEffect {\r
22     class Effect;\r
23 };\r
24 };\r
25 */\r
26 \r
27 struct LivePathEffectObject : public SPObject {\r
28     Inkscape::LivePathEffect::EffectType effecttype;  // fixme: i think this is not needed\r
29     Inkscape::LivePathEffect::Effect *lpe;\r
30 \r
31     bool effecttype_set;\r
32 };\r
33 \r
34 /// The LivePathEffect vtable.\r
35 struct LivePathEffectObjectClass {\r
36     SPObjectClass parent_class;\r
37 };\r
38 \r
39 GType livepatheffect_get_type();\r
40 \r
41 #endif\r
42 \r
43 /*\r
44   Local Variables:\r
45   mode:c++\r
46   c-file-style:"stroustrup"\r
47   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))\r
48   indent-tabs-mode:nil\r
49   fill-column:99\r
50   End:\r
51 */\r
52 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :\r