summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/automatable.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-08-17 17:25:20 +0000
committerDavid Robillard <d@drobilla.net>2007-08-17 17:25:20 +0000
commite486a8d86fee39b3bcca59441eb5d1c945cbef19 (patch)
tree61fbaaf470000e93db82672bd0849f4fe5177c09 /libs/ardour/ardour/automatable.h
parentfac0379cabee29038e1b7149cf2aa6613937bf87 (diff)
Per-region MIDI CC "automation".
Extremely broken in several ways. This commit brought to you by the letters D, R, and my need to switch machines. git-svn-id: svn://localhost/ardour2/trunk@2323 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/automatable.h')
-rw-r--r--libs/ardour/ardour/automatable.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/ardour/automatable.h b/libs/ardour/ardour/automatable.h
index 0af996f6c0..574d7af129 100644
--- a/libs/ardour/ardour/automatable.h
+++ b/libs/ardour/ardour/automatable.h
@@ -52,7 +52,8 @@ public:
boost::shared_ptr<AutomationControl> control_factory(boost::shared_ptr<AutomationList> list);
typedef std::map<Parameter,boost::shared_ptr<AutomationControl> > Controls;
- Controls controls() { return _controls; }
+ Controls& controls() { return _controls; }
+ const Controls& controls() const { return _controls; }
virtual void add_control(boost::shared_ptr<AutomationControl>);
@@ -79,6 +80,8 @@ public:
const std::set<Parameter>& what_can_be_automated() const { return _can_automate_list; }
void mark_automation_visible(Parameter, bool);
+
+ Glib::Mutex& automation_lock() const { return _automation_lock; }
protected: