X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Feditor_locations.h;h=17e174832552cc85a42afbea333b9f9ca92b6168;hb=4dc65e66;hp=414a57ee7dc382ba20812832ae117c952040b428;hpb=536384ea4ea7d468363ff5f284a817c42083c3b5;p=ardour.git diff --git a/gtk2_ardour/editor_locations.h b/gtk2_ardour/editor_locations.h index 414a57ee7d..17e1748325 100644 --- a/gtk2_ardour/editor_locations.h +++ b/gtk2_ardour/editor_locations.h @@ -20,6 +20,9 @@ #ifndef __gtk_ardour_editor_locations_h__ #define __gtk_ardour_editor_locations_h__ +#include "pbd/xml++.h" + +#include #include "ardour/session_handle.h" #include "editor_component.h" @@ -31,15 +34,18 @@ namespace Gtk { class EditorLocations : public EditorComponent, public ARDOUR::SessionHandlePtr { - public: +public: EditorLocations (Editor *); void set_session (ARDOUR::Session *); Gtk::Widget& widget (); + XMLNode & get_state () const; + int set_state (const XMLNode&); - private: - LocationUI* locations; +private: + Gtk::ScrolledWindow _scroller; + LocationUI* _locations; };