From 78b970a0a036f78cfd491553b49ffa00214f7a64 Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Tue, 29 Jul 2008 14:51:39 +0000 Subject: Rename isLPEParam() to isDeletable(), create new class LPEKnotHolderEntity and make inheritance from it a bit less clumsy (bzr r6448) --- src/live_effects/lpe-parallel.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/live_effects/lpe-parallel.cpp') diff --git a/src/live_effects/lpe-parallel.cpp b/src/live_effects/lpe-parallel.cpp index dba0f3a8d..e0e156263 100644 --- a/src/live_effects/lpe-parallel.cpp +++ b/src/live_effects/lpe-parallel.cpp @@ -24,20 +24,16 @@ namespace LivePathEffect { namespace Pl { -class KnotHolderEntityLeftEnd : public KnotHolderEntity +class KnotHolderEntityLeftEnd : public LPEKnotHolderEntity { public: - virtual bool isLPEParam() { return true; } - virtual void knot_set(NR::Point const &p, NR::Point const &origin, guint state); virtual NR::Point knot_get(); }; -class KnotHolderEntityRightEnd : public KnotHolderEntity +class KnotHolderEntityRightEnd : public LPEKnotHolderEntity { public: - virtual bool isLPEParam() { return true; } - virtual void knot_set(NR::Point const &p, NR::Point const &origin, guint state); virtual NR::Point knot_get(); }; -- cgit v1.2.3