non-primary music-locked regions follow tempo changes while dragging.
[ardour.git] / gtk2_ardour / session_dialog.h
index c2efd3ab2b3d2a5ecec0fda18fcdb518cbd1b836..a464e5a5ef182fe09ed70f7a1b79e39d4dfcf6f0 100644 (file)
@@ -76,6 +76,11 @@ class SessionDialog : public ArdourDialog {
        bool connect_outs_to_master() const;
        bool connect_outs_to_physical() const;
 
+       void set_provided_session(const std::string& session_name, const std::string& session_path) {
+               _provided_session_name = session_name;
+               _provided_session_path = session_path;
+       }
+
   private:
        bool new_only;
         std::string _provided_session_name;
@@ -89,6 +94,7 @@ class SessionDialog : public ArdourDialog {
         Gtk::Button* quit_button;
 
         bool back_button_pressed (GdkEventButton*);
+        bool open_button_pressed (GdkEventButton*);
 
         Gtk::Frame info_frame;
 
@@ -133,15 +139,18 @@ class SessionDialog : public ArdourDialog {
        Gtk::TreeView                recent_session_display;
        Glib::RefPtr<Gtk::TreeStore> recent_session_model;
        Gtk::ScrolledWindow          recent_scroller;
-        Gtk::Label                   recent_label;
+       Gtk::Label                   recent_label;
        Gtk::FileChooserButton       existing_session_chooser;
        int redisplay_recent_sessions ();
        void recent_session_row_selected ();
        void recent_session_sort_changed ();
        void recent_row_activated (const Gtk::TreePath& path, Gtk::TreeViewColumn* col);
+       bool recent_button_press (GdkEventButton*);
+       void recent_context_mennu (GdkEventButton*);
+       void recent_remove_selected ();
 
        void existing_session_selected ();
-        void session_selected ();
+       void session_selected ();
 
        /* new sessions */