X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fprocessor.h;h=914ddb904fca0f24bda07fc4c2c2430e152701c9;hb=28127b1768667aa5433d7e994105a8de78c7d6d2;hp=85d466a169265434d859ba44da3aa4a7343d727e;hpb=c0e6f8e4c324c3f44613949b59acd9e864ab263d;p=ardour.git diff --git a/libs/ardour/ardour/processor.h b/libs/ardour/ardour/processor.h index 85d466a169..914ddb904f 100644 --- a/libs/ardour/ardour/processor.h +++ b/libs/ardour/ardour/processor.h @@ -35,6 +35,8 @@ #include "ardour/automatable.h" class XMLNode; +class ProcessorWindowProxy; +class PluginPinWindowProxy; namespace ARDOUR { @@ -106,7 +108,7 @@ class LIBARDOUR_API Processor : public SessionObject, public Automatable, public XMLNode& get_state (void); int set_state (const XMLNode&, int version); - void set_pre_fader (bool); + virtual void set_pre_fader (bool); PBD::Signal0 ActiveChanged; PBD::Signal2 ConfigurationChanged; @@ -114,8 +116,14 @@ class LIBARDOUR_API Processor : public SessionObject, public Automatable, public void set_ui (void*); void* get_ui () const { return _ui_pointer; } - void set_owner (SessionObject*); - SessionObject* owner() const; + ProcessorWindowProxy * window_proxy () const { return _window_proxy; } + 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; protected: virtual int set_state_2X (const XMLNode&, int version); @@ -129,7 +137,9 @@ protected: bool _display_to_user; bool _pre_fader; ///< true if this processor is currently placed before the Amp, otherwise false void* _ui_pointer; - SessionObject* _owner; + ProcessorWindowProxy *_window_proxy; + PluginPinWindowProxy *_pinmgr_proxy; + SessionObject* _owner; }; } // namespace ARDOUR