make 3.0 catch up with transport and other changes in 2.X (hand applied, not merged)
[ardour.git] / libs / ardour / ardour / processor.h
index 21b7966fbad79b258e5d834d63c4e5d8758279c1..473bb97130fe7332d3ccb86aa143d8f98748b125 100644 (file)
@@ -91,8 +91,8 @@ class Processor : public SessionObject, public AutomatableControls, public Laten
 
        virtual XMLNode& state (bool full);
        XMLNode& get_state (void);
-       int set_state (const XMLNode&);
-
+       int set_state (const XMLNode&, int version);
+       
        void *get_gui () const { return _gui; }
        void  set_gui (void *p) { _gui = p; }
 
@@ -109,6 +109,9 @@ protected:
        ChanCount _configured_input;
        ChanCount _configured_output;
        void*     _gui;  /* generic, we don't know or care what this is */
+
+private:
+       int set_state_2X (const XMLNode&, int version);
 };
 
 } // namespace ARDOUR