From c90010388b0d4045c26e81c2be28beedcb36c7d3 Mon Sep 17 00:00:00 2001 From: cilix42 Date: Sun, 18 May 2008 20:53:26 +0000 Subject: [PATCH] Add function to return path effect type --- src/live_effects/effect.cpp | 5 +++++ src/live_effects/effect.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 6ae30fe4c..9f74af3d9 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -157,6 +157,11 @@ Effect::getName() return Glib::ustring( _("No effect") ); } +EffectType +Effect::effectType() { + return lpeobj->effecttype; +} + void Effect::doBeforeEffect (SPLPEItem */*lpeitem*/) { diff --git a/src/live_effects/effect.h b/src/live_effects/effect.h index 086b973af..496d4cbdf 100644 --- a/src/live_effects/effect.h +++ b/src/live_effects/effect.h @@ -81,6 +81,8 @@ public: virtual ~Effect(); + EffectType effectType (); + virtual void doBeforeEffect (SPLPEItem *lpeitem); virtual void doEffect (SPCurve * curve); -- 2.30.2