summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_controller.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-07-06 02:37:35 +0000
committerDavid Robillard <d@drobilla.net>2007-07-06 02:37:35 +0000
commitb942d3613e9679a1ffc5ad5ff0a6491cac1fa853 (patch)
treec6df327c7e2a34425c54e16ae02032affceeaae0 /gtk2_ardour/automation_controller.h
parent19273e824d40534a4e31259fb8b83122b24aa4e9 (diff)
Fix 'live' CC sending of bar controllers after loading session (previously only worked when immediately created by user).
git-svn-id: svn://localhost/ardour2/trunk@2116 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_controller.h')
-rw-r--r--gtk2_ardour/automation_controller.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/automation_controller.h b/gtk2_ardour/automation_controller.h
index 0f98e5f083..8a244113c4 100644
--- a/gtk2_ardour/automation_controller.h
+++ b/gtk2_ardour/automation_controller.h
@@ -29,13 +29,14 @@ namespace ARDOUR {
class Session;
class AutomationList;
class AutomationControl;
+ class Automatable;
}
class AutomationController : public Gtkmm2ext::BarController {
public:
static boost::shared_ptr<AutomationController> create(
- ARDOUR::Session& s,
+ boost::shared_ptr<ARDOUR::Automatable> parent,
boost::shared_ptr<ARDOUR::AutomationList> al,
boost::shared_ptr<ARDOUR::AutomationControl> ac);