Fix ff->stop->play not at speed 1.0 on Mackie Control and some key bindings.
[ardour.git] / libs / ardour / ardour / processor.h
index 85d466a169265434d859ba44da3aa4a7343d727e..c7d3608b5eb7cc77db6043209bef1370c5156a8f 100644 (file)
@@ -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<void>                     ActiveChanged;
        PBD::Signal2<void,ChanCount,ChanCount> 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