summaryrefslogtreecommitdiff
path: root/gtk2_ardour/new_session_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/new_session_dialog.h')
-rw-r--r--gtk2_ardour/new_session_dialog.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/gtk2_ardour/new_session_dialog.h b/gtk2_ardour/new_session_dialog.h
index 0998f8a39a..6f0820168b 100644
--- a/gtk2_ardour/new_session_dialog.h
+++ b/gtk2_ardour/new_session_dialog.h
@@ -54,6 +54,12 @@ class NewSessionDialog : public ArdourDialog
{
public:
+ enum Pages {
+ NewPage = 0x1,
+ OpenPage = 0x2,
+ EnginePage = 0x4
+ };
+
NewSessionDialog();
~NewSessionDialog ();
@@ -86,9 +92,9 @@ public:
bool connect_outs_to_master() const;
bool connect_outs_to_physical() const ;
+ Pages which_page ();
- bool on_newable_page() const;
- int get_current_page () const;
+ int get_current_page() const;
void set_current_page (int);
void reset_recent();
@@ -170,11 +176,6 @@ protected:
Gtk::Notebook* m_notebook;
private:
- enum Pages {
- NewPage = 0x1,
- OpenPage = 0x2,
- EnginePage = 0x4
- };
Pages page_set;
@@ -213,6 +214,7 @@ protected:
void master_bus_button_clicked ();
void monitor_bus_button_clicked ();
+ bool on_new_session_page;
bool have_engine;
};