diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-17 11:41:22 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:43 -0400 |
commit | 7321e1b4a258f5949381bcef8b744103e773c3ef (patch) | |
tree | 600fdd83a014c1ad9806d232dc46c9404c42560c | |
parent | 186209c03c5900633be1583ba3a84d060d1eeb27 (diff) |
add MonitorProcessor accessor to Stripable API
-rw-r--r-- | libs/ardour/ardour/stripable.h | 5 | ||||
-rw-r--r-- | libs/ardour/ardour/vca.h | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libs/ardour/ardour/stripable.h b/libs/ardour/ardour/stripable.h index ddf83366c7..cebe91a576 100644 --- a/libs/ardour/ardour/stripable.h +++ b/libs/ardour/ardour/stripable.h @@ -43,6 +43,7 @@ class PhaseControl; class SoloIsolateControl; class SoloSafeControl; class MonitorControl; +class MonitorProcessor; /* This is a virtual base class for any object that needs to be potentially * represented by a control-centric user interface using the general model of a @@ -173,7 +174,9 @@ class LIBARDOUR_API Stripable : public SessionObject { virtual bool muted_by_others_soloing () const = 0; - protected: + virtual boost::shared_ptr<MonitorProcessor> monitor_control() const = 0; + + protected: PresentationInfo _presentation_info; /* set the entire info. This should only be used in cases where the diff --git a/libs/ardour/ardour/vca.h b/libs/ardour/ardour/vca.h index b06f29f61a..d4ee69b702 100644 --- a/libs/ardour/ardour/vca.h +++ b/libs/ardour/ardour/vca.h @@ -132,6 +132,7 @@ class LIBARDOUR_API VCA : public Stripable, virtual boost::shared_ptr<AutomationControl> send_enable_controllable (uint32_t n) const { return boost::shared_ptr<AutomationControl>(); } virtual std::string send_name (uint32_t n) const { return std::string(); } virtual boost::shared_ptr<AutomationControl> master_send_enable_controllable () const { return boost::shared_ptr<AutomationControl>(); } + boost::shared_ptr<MonitorProcessor> monitor_control() const { return boost::shared_ptr<MonitorProcessor>(); } private: uint32_t _number; |