From: Robin Gareus Date: Tue, 10 May 2016 18:06:15 +0000 (+0200) Subject: prepare route pin display (shared mixer + editor-mixer window proxy) X-Git-Tag: 5.0-pre0~680 X-Git-Url: https://main.carlh.net/gitweb/?p=ardour.git;a=commitdiff_plain;h=d53d9b01abd5f2000554846c44c791b82f30dc00 prepare route pin display (shared mixer + editor-mixer window proxy) --- diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h index e1e155b744..3c06018e1b 100644 --- a/libs/ardour/ardour/route.h +++ b/libs/ardour/ardour/route.h @@ -52,6 +52,8 @@ #include "ardour/automatable.h" #include "ardour/unknown_processor.h" +class RoutePinWindowProxy; + namespace ARDOUR { class Amp; @@ -234,6 +236,9 @@ public: std::list unknown_processors () const; + RoutePinWindowProxy * pinmgr_proxy () const { return _pinmgr_proxy; } + void set_pingmgr_proxy (RoutePinWindowProxy* wp) { _pinmgr_proxy = wp ; } + /* special processors */ boost::shared_ptr monitor_send() const { return _monitor_send; } @@ -911,6 +916,7 @@ private: or 0. */ boost::weak_ptr _processor_after_last_custom_meter; + RoutePinWindowProxy *_pinmgr_proxy; void reset_instrument_info (); diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 57980d1f54..1e9f0ee3a9 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -119,6 +119,7 @@ Route::Route (Session& sess, string name, Flag flg, DataType default_type) , _in_sidechain_setup (false) , _strict_io (false) , _custom_meter_position_noted (false) + , _pinmgr_proxy (0) { processor_max_streams.reset(); }