diff options
Diffstat (limited to 'gtk2_ardour/location_ui.h')
-rw-r--r-- | gtk2_ardour/location_ui.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk2_ardour/location_ui.h b/gtk2_ardour/location_ui.h index 76542804c2..3be45dc329 100644 --- a/gtk2_ardour/location_ui.h +++ b/gtk2_ardour/location_ui.h @@ -153,7 +153,7 @@ protected: class LocationUI : public Gtk::HBox, public ARDOUR::SessionHandlePtr { public: - LocationUI (); + LocationUI (std::string state_node_name = "LocationUI"); ~LocationUI (); void set_session (ARDOUR::Session *); @@ -165,6 +165,7 @@ public: void refresh_location_list (); XMLNode & get_state () const; + int set_state (const XMLNode&); private: /** set to the location that has just been created with the LocationUI `add' button @@ -209,7 +210,12 @@ private: void map_locations (const ARDOUR::Locations::LocationList&); ClockGroup* _clock_group; - AudioClock::Mode clock_mode_from_session_instant_xml () const; + AudioClock::Mode clock_mode_from_session_instant_xml (); + + AudioClock::Mode _mode; + bool _mode_set; + + std::string _state_node_name; }; class LocationUIWindow : public ArdourWindow |