Code

implemented proper error checking
[inkscape.git] / src / live_effects / lpe-test-doEffect-stack.h
index 1417512d1e13fae6f2571005def85dc6e766f858..fa3ee09be9f76dac65b68be6310f309ef2e47436 100644 (file)
@@ -16,6 +16,7 @@
 #include "live_effects/effect.h"
 #include "live_effects/parameter/parameter.h"
 #include "live_effects/parameter/point.h"
+#include "live_effects/parameter/path.h"
 
 namespace Inkscape {
 namespace LivePathEffect {
@@ -26,13 +27,13 @@ public:
     virtual ~LPEdoEffectStackTest();
 
     virtual void                                     doEffect (SPCurve * curve);
-    virtual NArtBpath *                              doEffect_nartbpath (NArtBpath * path_in);
-    virtual std::vector<Geom::Path>                  doEffect_path (std::vector<Geom::Path> & path_in);
-    virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > & pwd2_in);
+    virtual std::vector<Geom::Path>                  doEffect_path (std::vector<Geom::Path> const & path_in);
+    virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in);
 
 private:
     ScalarParam step;
     PointParam point;
+    PathParam path;
 
     LPEdoEffectStackTest(const LPEdoEffectStackTest&);
     LPEdoEffectStackTest& operator=(const LPEdoEffectStackTest&);