X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fsession_dialog.h;h=69532182a2e10428ceb230ebd2d89dd103280be0;hb=36dd7f8d9d602d5e609277e0c2cf0cd8454eac72;hp=b4beb698febe148948dc150311a7bd75badfaf7d;hpb=6c43ca53342e829940a75a1ab928d386fc958403;p=ardour.git diff --git a/gtk2_ardour/session_dialog.h b/gtk2_ardour/session_dialog.h index b4beb698fe..69532182a2 100644 --- a/gtk2_ardour/session_dialog.h +++ b/gtk2_ardour/session_dialog.h @@ -47,15 +47,16 @@ class EngineControl; class SessionDialog : public ArdourDialog { public: - SessionDialog (bool require_new, const std::string& session_name, const std::string& session_path, + SessionDialog (bool require_new, const std::string& session_name, const std::string& session_path, const std::string& template_name, bool cancel_not_quit); + SessionDialog (); ~SessionDialog (); void clear_given (); std::string session_name (bool& should_be_new); std::string session_folder (); - + bool use_session_template(); std::string session_template_name(); @@ -94,6 +95,7 @@ class SessionDialog : public ArdourDialog { /* initial choice page */ void setup_initial_choice_box (); + void setup_recent_sessions (); Gtk::VBox ic_vbox; Gtk::Button ic_new_session_button; void new_session_button_clicked (); @@ -116,6 +118,7 @@ class SessionDialog : public ArdourDialog { add (sample_rate); add (disk_format); add (time_modified); + add (time_formatted); } Gtk::TreeModelColumn visible_name; Gtk::TreeModelColumn tip; @@ -123,6 +126,7 @@ class SessionDialog : public ArdourDialog { Gtk::TreeModelColumn sample_rate; Gtk::TreeModelColumn disk_format; Gtk::TreeModelColumn time_modified; + Gtk::TreeModelColumn time_formatted; }; RecentSessionModelColumns recent_session_columns; @@ -133,6 +137,7 @@ class SessionDialog : public ArdourDialog { 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); void existing_session_selected ();