Apply LV2 changes from 2.0.
[ardour.git] / gtk2_ardour / new_session_dialog.h
index 0998f8a39a532401b68439481a49846af4c9d2b3..aa6911f36075c1da68c9190d2d9d82f8ab8054aa 100644 (file)
@@ -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 () const;
 
-       bool on_newable_page() const;
-       int  get_current_page () const;
+       int get_current_page();
        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;
 };