From 7321e1b4a258f5949381bcef8b744103e773c3ef Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 17 May 2016 11:41:22 -0400 Subject: [PATCH] add MonitorProcessor accessor to Stripable API --- libs/ardour/ardour/stripable.h | 5 ++++- libs/ardour/ardour/vca.h | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) 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 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 send_enable_controllable (uint32_t n) const { return boost::shared_ptr(); } virtual std::string send_name (uint32_t n) const { return std::string(); } virtual boost::shared_ptr master_send_enable_controllable () const { return boost::shared_ptr(); } + boost::shared_ptr monitor_control() const { return boost::shared_ptr(); } private: uint32_t _number; -- 2.30.2