Remove unused code.
[ardour.git] / gtk2_ardour / location_ui.h
index 485a24499c5d92b5c8b418e3424a77840f1192a9..5a6e8649c7c403ca74fec59a4985ea70f72c7ae0 100644 (file)
@@ -79,12 +79,12 @@ class LocationEditRow  : public Gtk::HBox, public ARDOUR::SessionHandlePtr
        Gtk::Label    number_label;
 
        Gtk::HBox     start_hbox;
-       Gtk::Button   start_go_button;
        AudioClock    start_clock;
+       Gtk::Button   start_to_playhead_button;
 
        Gtk::HBox     end_hbox;
-       Gtk::Button   end_go_button;
        AudioClock    end_clock;
+       Gtk::Button   end_to_playhead_button;
 
        AudioClock    length_clock;
        Gtk::CheckButton cd_check_button;
@@ -104,7 +104,9 @@ class LocationEditRow  : public Gtk::HBox, public ARDOUR::SessionHandlePtr
        Gtk::Label    composer_label;
        Gtk::Entry    composer_entry;
        Gtk::CheckButton   scms_check_button;
+       Gtk::Label         scms_label;
        Gtk::CheckButton   preemph_check_button;
+       Gtk::Label         preemph_label;
         ClockGroup* _clock_group;
 
        guint32 i_am_the_modifier;
@@ -116,9 +118,9 @@ class LocationEditRow  : public Gtk::HBox, public ARDOUR::SessionHandlePtr
        void composer_entry_changed ();
 
        void to_playhead_button_pressed (LocationPart part);
-       void go_button_pressed (LocationPart part);
 
        void clock_changed (LocationPart part);
+       bool locate_to_clock (GdkEventButton*, AudioClock*);
 
        void cd_toggled ();
        void hide_toggled ();
@@ -156,6 +158,8 @@ class LocationUI : public Gtk::HBox, public ARDOUR::SessionHandlePtr
 
        void refresh_location_list ();
 
+       XMLNode & get_state () const;
+
   private:
        ARDOUR::LocationStack* locations;
        ARDOUR::Location *newest_location;
@@ -197,6 +201,7 @@ class LocationUI : public Gtk::HBox, public ARDOUR::SessionHandlePtr
        void map_locations (ARDOUR::Locations::LocationList&);
 
         ClockGroup* _clock_group;
+       AudioClock::Mode clock_mode_from_session_instant_xml () const;
 };
 
 class LocationUIWindow : public ArdourWindow