diff options
Diffstat (limited to 'gtk2_ardour/new_session_dialog.h')
-rw-r--r-- | gtk2_ardour/new_session_dialog.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk2_ardour/new_session_dialog.h b/gtk2_ardour/new_session_dialog.h index 53ec3eabf2..0998f8a39a 100644 --- a/gtk2_ardour/new_session_dialog.h +++ b/gtk2_ardour/new_session_dialog.h @@ -57,6 +57,8 @@ public: NewSessionDialog(); ~NewSessionDialog (); + int run (); + void set_session_name(const Glib::ustring& name); void set_session_folder(const Glib::ustring& folder); @@ -95,6 +97,7 @@ public: EngineControl engine_control; void set_have_engine (bool yn); + void set_existing_session (bool yn); protected: @@ -167,6 +170,14 @@ protected: Gtk::Notebook* m_notebook; private: + enum Pages { + NewPage = 0x1, + OpenPage = 0x2, + EnginePage = 0x4 + }; + + Pages page_set; + struct RecentSessionModelColumns : public Gtk::TreeModel::ColumnRecord { RecentSessionModelColumns() { add (visible_name); |