Code

Add function to return path effect type
authorcilix42 <cilix42@users.sourceforge.net>
Sun, 18 May 2008 20:53:26 +0000 (20:53 +0000)
committercilix42 <cilix42@users.sourceforge.net>
Sun, 18 May 2008 20:53:26 +0000 (20:53 +0000)
src/live_effects/effect.cpp
src/live_effects/effect.h

index 6ae30fe4c11f442244a443a2b8163f5b8c222842..9f74af3d9633ed1a37bb2c0405b2d3cb908a2fd8 100644 (file)
@@ -157,6 +157,11 @@ Effect::getName()
         return Glib::ustring( _("No effect") );
 }
 
+EffectType
+Effect::effectType() {
+    return lpeobj->effecttype;
+}
+
 void
 Effect::doBeforeEffect (SPLPEItem */*lpeitem*/)
 {
index 086b973af7c94d4c9b04cf14e810eb3230588797..496d4cbdfa1b327c487fc516e53634d7725c2a7e 100644 (file)
@@ -81,6 +81,8 @@ public:
 
     virtual ~Effect();
 
+    EffectType effectType ();
+
     virtual void doBeforeEffect (SPLPEItem *lpeitem);
 
     virtual void doEffect (SPCurve * curve);