summaryrefslogtreecommitdiff
path: root/gtk2_ardour/axis_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/axis_view.h')
-rw-r--r--gtk2_ardour/axis_view.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk2_ardour/axis_view.h b/gtk2_ardour/axis_view.h
index 81fe489252..77518116a3 100644
--- a/gtk2_ardour/axis_view.h
+++ b/gtk2_ardour/axis_view.h
@@ -35,6 +35,10 @@
#include "prompter.h"
#include "selectable.h"
+namespace PBD {
+ class Controllable;
+}
+
namespace ARDOUR {
class Session;
class Stripable;
@@ -49,14 +53,13 @@ namespace ARDOUR {
class AxisView : public virtual PBD::ScopedConnectionList, public virtual ARDOUR::SessionHandlePtr, public virtual Selectable
{
public:
- ARDOUR::Session* session() const { return _session; }
-
virtual std::string name() const = 0;
virtual Gdk::Color color() const = 0;
sigc::signal<void> Hiding;
virtual boost::shared_ptr<ARDOUR::Stripable> stripable() const = 0;
+ virtual boost::shared_ptr<ARDOUR::AutomationControl> control() const { return boost::shared_ptr<ARDOUR::AutomationControl>(); }
virtual std::string state_id() const = 0;
/* for now, we always return properties in string form.