X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fprocessor.h;h=c7d3608b5eb7cc77db6043209bef1370c5156a8f;hb=065d7c852a1586a3020affd6905f108abf252119;hp=85d466a169265434d859ba44da3aa4a7343d727e;hpb=36c233fe6ce570ce85224626ce7aba4a2607537f;p=ardour.git diff --git a/libs/ardour/ardour/processor.h b/libs/ardour/ardour/processor.h index 85d466a169..c7d3608b5e 100644 --- a/libs/ardour/ardour/processor.h +++ b/libs/ardour/ardour/processor.h @@ -35,6 +35,7 @@ #include "ardour/automatable.h" class XMLNode; +class ProcessorWindowProxy; namespace ARDOUR { @@ -106,7 +107,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 +115,11 @@ 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); + + void set_owner (SessionObject*); + SessionObject* owner() const; protected: virtual int set_state_2X (const XMLNode&, int version); @@ -129,7 +133,8 @@ 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; + SessionObject* _owner; }; } // namespace ARDOUR