Fix a tiny memory leak, add_instant_xml() copies the node
[ardour.git] / gtk2_ardour / insert_remove_time_dialog.h
index 6fbb5755136361a987d83f31c02eebc06e634ee2..4b0cef6dd95397f8399e46b77b88c2cc9cb7a2f8 100644 (file)
@@ -34,10 +34,12 @@ 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 ();
+       void doit ();
 
        PublicEditor& _editor;
        Gtk::ComboBoxText _intersected_combo;
@@ -48,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;
 };