X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Feditor_snapshots.h;h=132c2f090cad211087700f4f4b88d291797c3f91;hb=5d509146c815bee46e8d1ede78c7e4445f346db8;hp=1a17e6de3016931a8379e9e578f330bb16f0399e;hpb=bb9cc45cd22af67ac275a5e73accbe14fee664d8;p=ardour.git diff --git a/gtk2_ardour/editor_snapshots.h b/gtk2_ardour/editor_snapshots.h index 1a17e6de30..132c2f090c 100644 --- a/gtk2_ardour/editor_snapshots.h +++ b/gtk2_ardour/editor_snapshots.h @@ -23,12 +23,12 @@ #include #include "editor_component.h" -class EditorSnapshots : public EditorComponent +class EditorSnapshots : public EditorComponent, public ARDOUR::SessionHandlePtr { public: EditorSnapshots (Editor *); - void connect_to_session (ARDOUR::Session *); + void set_session (ARDOUR::Session *); Gtk::Widget& widget () { return _scroller; @@ -45,8 +45,8 @@ private: add (visible_name); add (real_name); } - Gtk::TreeModelColumn visible_name; - Gtk::TreeModelColumn real_name; + Gtk::TreeModelColumn visible_name; + Gtk::TreeModelColumn real_name; }; Columns _columns; @@ -56,7 +56,7 @@ private: bool button_press (GdkEventButton *); void selection_changed (); - void popup_context_menu (int, int32_t, Glib::ustring); - void remove (Glib::ustring); - void rename (Glib::ustring); + void popup_context_menu (int, int32_t, std::string); + void remove (std::string); + void rename (std::string); };