Code

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