A bit better integration of vst sdk files
[ardour.git] / libs / surfaces / tranzport / tranzport_control_protocol.h
index 546cc2f2af3189ff5bbc85b59ee9a94fc79bc201..e5193a761cdfa3d71306b034d5b6ceb672f9899a 100644 (file)
@@ -23,6 +23,9 @@ class TranzportControlProtocol : public ARDOUR::ControlProtocol
 
        static bool probe ();
 
+       XMLNode& get_state ();
+       int set_state (const XMLNode&);
+
   private:
        static const int VENDORID = 0x165b;
        static const int PRODUCTID = 0x8101;
@@ -107,7 +110,7 @@ class TranzportControlProtocol : public ARDOUR::ControlProtocol
        uint32_t       last_mins;
        uint32_t       last_secs;
        uint32_t       last_frames;
-       jack_nframes_t last_where;
+       nframes_t last_where;
        ARDOUR::gain_t last_track_gain;
        uint32_t       last_meter_fill;
        struct timeval last_wheel_motion;