summaryrefslogtreecommitdiff
path: root/libs/evoral/evoral/ControlList.hpp
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-07-12 00:41:45 +0000
committerCarl Hetherington <carl@carlh.net>2010-07-12 00:41:45 +0000
commitd1b4599725abda6b8697151fd4a1bd3740ad2f2a (patch)
treea6c7035d9316f8a1c1fef9aa079a76a210b643a5 /libs/evoral/evoral/ControlList.hpp
parent6f5ee7c4293c43486d48bac00fdcdba90dabb17d (diff)
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
Diffstat (limited to 'libs/evoral/evoral/ControlList.hpp')
-rw-r--r--libs/evoral/evoral/ControlList.hpp6
1 files changed, 5 insertions, 1 deletions
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 <boost/pool/pool.hpp>
#include <boost/pool/pool_alloc.hpp>
#include <glibmm/thread.h>
+#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<void> Dirty;
+
protected:
/** Called by unlocked_eval() to handle cases of 3 or more control points. */