13
0

add MonitorProcessor accessor to Stripable API

This commit is contained in:
Paul Davis 2016-05-17 11:41:22 -04:00
parent 186209c03c
commit 7321e1b4a2
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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;