Remove wrong asserts
[ardour.git] / gtk2_ardour / editor_snapshots.h
index 5563778aa5f3af69596b9cc72a1aeaeafb6c78f4..48626a5368852e556086014a817fba1d1b91d7c6 100644 (file)
@@ -23,7 +23,7 @@
 #include <gtkmm/treeview.h>
 #include "editor_component.h"
 
-class EditorSnapshots : public EditorComponent
+class EditorSnapshots : public EditorComponent, public ARDOUR::SessionHandlePtr
 {
 public:
        EditorSnapshots (Editor *);
@@ -44,9 +44,11 @@ private:
                Columns () {
                        add (visible_name);
                        add (real_name);
+                       add (time_formatted);
                }
-               Gtk::TreeModelColumn<Glib::ustring> visible_name;
-               Gtk::TreeModelColumn<Glib::ustring> real_name;
+               Gtk::TreeModelColumn<std::string> visible_name;
+               Gtk::TreeModelColumn<std::string> real_name;
+               Gtk::TreeModelColumn<std::string> time_formatted;
        };
 
        Columns _columns;
@@ -56,7 +58,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);
 };