remove duplicate call: MeterSection is-a MetricSection
[ardour.git] / libs / ardour / ardour / processor.h
index 85d466a169265434d859ba44da3aa4a7343d727e..914ddb904fca0f24bda07fc4c2c2430e152701c9 100644 (file)
@@ -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<void>                     ActiveChanged;
        PBD::Signal2<void,ChanCount,ChanCount> 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