Fix a tiny memory leak, add_instant_xml() copies the node
[ardour.git] / gtk2_ardour / insert_remove_time_dialog.h
index ea3b24238e06681d9d8a96b11531a1a709fe970e..4b0cef6dd95397f8399e46b77b88c2cc9cb7a2f8 100644 (file)
@@ -34,7 +34,8 @@ public:
        bool move_glued_markers () const;
        bool move_locked_markers () const;
        bool move_tempos () const;
-       framepos_t distance () const;
+       samplepos_t position () const;
+       samplepos_t distance () const;
 
 private:
        void move_markers_toggled ();
@@ -49,5 +50,6 @@ private:
        Gtk::CheckButton _move_locked_markers;
        Gtk::CheckButton _move_tempos;
        Gtk::Label tempo_label;
-       AudioClock _clock;
+       AudioClock duration_clock;
+       AudioClock position_clock;
 };