diff --git a/libs/ardour/ardour/processor.h b/libs/ardour/ardour/processor.h index c7d3608b5e..914ddb904f 100644 --- a/libs/ardour/ardour/processor.h +++ b/libs/ardour/ardour/processor.h @@ -36,6 +36,7 @@ class XMLNode; class ProcessorWindowProxy; +class PluginPinWindowProxy; namespace ARDOUR { @@ -116,7 +117,10 @@ class LIBARDOUR_API Processor : public SessionObject, public Automatable, public void* get_ui () const { return _ui_pointer; } ProcessorWindowProxy * window_proxy () const { return _window_proxy; } - void set_window_proxy (ProcessorWindowProxy* wp); + void set_window_proxy (ProcessorWindowProxy* wp) { _window_proxy = wp; } + + PluginPinWindowProxy * pinmgr_proxy () const { return _pinmgr_proxy; } + void set_pingmgr_proxy (PluginPinWindowProxy* wp) { _pinmgr_proxy = wp ; } void set_owner (SessionObject*); SessionObject* owner() const; @@ -134,6 +138,7 @@ protected: bool _pre_fader; ///< true if this processor is currently placed before the Amp, otherwise false void* _ui_pointer; ProcessorWindowProxy *_window_proxy; + PluginPinWindowProxy *_pinmgr_proxy; SessionObject* _owner; }; diff --git a/libs/ardour/processor.cc b/libs/ardour/processor.cc index 315fb6662e..e55d31ce52 100644 --- a/libs/ardour/processor.cc +++ b/libs/ardour/processor.cc @@ -64,6 +64,7 @@ Processor::Processor(Session& session, const string& name) , _pre_fader (false) , _ui_pointer (0) , _window_proxy (0) + , _pinmgr_proxy (0) , _owner (0) { } @@ -81,6 +82,7 @@ Processor::Processor (const Processor& other) , _pre_fader (false) , _ui_pointer (0) , _window_proxy (0) + , _pinmgr_proxy (0) , _owner (0) { } @@ -277,12 +279,6 @@ Processor::set_ui (void* p) _ui_pointer = p; } -void -Processor::set_window_proxy (ProcessorWindowProxy* wp) -{ - _window_proxy = wp; -} - void Processor::set_owner (SessionObject* o) {