X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Flive_effects%2Flpeobject.h;h=f141f07ca8cc87a333f8715738ce7fcceb7c739b;hb=71146abe8aba032d73788a625fee5769a581bd3c;hp=c2e9fafa7949582827d1cc928f131444fac8ee8a;hpb=f07bfd5a05d43a6d11f7cd442f085149092dea88;p=inkscape.git diff --git a/src/live_effects/lpeobject.h b/src/live_effects/lpeobject.h index c2e9fafa7..f141f07ca 100644 --- a/src/live_effects/lpeobject.h +++ b/src/live_effects/lpeobject.h @@ -4,7 +4,7 @@ /* * Inkscape::LivePathEffect * -* Copyright (C) Johan Engelen 2007 +* Copyright (C) Johan Engelen 2007-2008 * * Released under GNU GPL, read the file 'COPYING' for more information */ @@ -16,19 +16,14 @@ #define LIVEPATHEFFECT(o) (G_TYPE_CHECK_INSTANCE_CAST((o), TYPE_LIVEPATHEFFECT, LivePathEffectObject)) #define IS_LIVEPATHEFFECT(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), TYPE_LIVEPATHEFFECT)) -/* -namespace Inkscape { -namespace LivePathEffect { - class Effect; -}; -}; -*/ - -struct LivePathEffectObject : public SPObject { - Inkscape::LivePathEffect::EffectType effecttype; // fixme: i think this is not needed +class LivePathEffectObject : public SPObject { +public: + Inkscape::LivePathEffect::EffectType effecttype; Inkscape::LivePathEffect::Effect *lpe; bool effecttype_set; + + LivePathEffectObject * fork_private_if_necessary(unsigned int nr_of_allowed_users = 1); }; /// The LivePathEffect vtable.