From d1b4599725abda6b8697151fd4a1bd3740ad2f2a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 12 Jul 2010 00:41:45 +0000 Subject: Mark Sequence as edited when one of its parent ControlSet's ControlLists is changed. git-svn-id: svn://localhost/ardour2/branches/3.0@7404 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/evoral/evoral/ControlList.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libs/evoral/evoral/ControlList.hpp') diff --git a/libs/evoral/evoral/ControlList.hpp b/libs/evoral/evoral/ControlList.hpp index d68b6a3e5f..5f842775ee 100644 --- a/libs/evoral/evoral/ControlList.hpp +++ b/libs/evoral/evoral/ControlList.hpp @@ -24,6 +24,7 @@ #include #include #include +#include "pbd/signals.h" #include "evoral/types.hpp" #include "evoral/Parameter.hpp" @@ -224,7 +225,7 @@ public: Curve& curve() { assert(_curve); return *_curve; } const Curve& curve() const { assert(_curve); return *_curve; } - virtual void mark_dirty () const; + void mark_dirty () const; enum InterpolationStyle { Discrete, @@ -235,6 +236,9 @@ public: InterpolationStyle interpolation() const { return _interpolation; } void set_interpolation(InterpolationStyle style) { _interpolation = style; } + /** Emitted when mark_dirty() is called on this object */ + mutable PBD::Signal0 Dirty; + protected: /** Called by unlocked_eval() to handle cases of 3 or more control points. */ -- cgit v1.2.3