prepare route pin display (shared mixer + editor-mixer window proxy)
authorRobin Gareus <robin@gareus.org>
Tue, 10 May 2016 18:06:15 +0000 (20:06 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 10 May 2016 18:54:11 +0000 (20:54 +0200)
libs/ardour/ardour/route.h
libs/ardour/route.cc

index e1e155b74475fc5d55d5146bbdb88bef2c6d2c69..3c06018e1bc969505e204b8e216a408f4e383a13 100644 (file)
@@ -52,6 +52,8 @@
 #include "ardour/automatable.h"
 #include "ardour/unknown_processor.h"
 
 #include "ardour/automatable.h"
 #include "ardour/unknown_processor.h"
 
+class RoutePinWindowProxy;
+
 namespace ARDOUR {
 
 class Amp;
 namespace ARDOUR {
 
 class Amp;
@@ -234,6 +236,9 @@ public:
 
        std::list<std::string> unknown_processors () const;
 
 
        std::list<std::string> unknown_processors () const;
 
+       RoutePinWindowProxy * pinmgr_proxy () const { return _pinmgr_proxy; }
+       void set_pingmgr_proxy (RoutePinWindowProxy* wp) { _pinmgr_proxy = wp ; }
+
        /* special processors */
 
        boost::shared_ptr<InternalSend>     monitor_send() const { return _monitor_send; }
        /* special processors */
 
        boost::shared_ptr<InternalSend>     monitor_send() const { return _monitor_send; }
@@ -911,6 +916,7 @@ private:
            or 0.
        */
        boost::weak_ptr<Processor> _processor_after_last_custom_meter;
            or 0.
        */
        boost::weak_ptr<Processor> _processor_after_last_custom_meter;
+       RoutePinWindowProxy *_pinmgr_proxy;
 
        void reset_instrument_info ();
 
 
        void reset_instrument_info ();
 
index 57980d1f543fca434347fdfba4f028b505c92756..1e9f0ee3a99ba3406a0a5c833fc0b74a729f8c91 100644 (file)
@@ -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)
        , _in_sidechain_setup (false)
        , _strict_io (false)
        , _custom_meter_position_noted (false)
+       , _pinmgr_proxy (0)
 {
        processor_max_streams.reset();
 }
 {
        processor_max_streams.reset();
 }