push2:small logic fix for destructor, mostly to ensure that the track_mix layout...
[ardour.git] / gtk2_ardour / session_dialog.h
index 1a5d1a8386457dbad39bb7beb16659cf34fc199c..9143007f8fc68d9b41e352bdb7005a5e53a7ab81 100644 (file)
@@ -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();
 
@@ -75,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;
@@ -94,6 +100,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 ();
@@ -229,6 +236,10 @@ class SessionDialog : public ArdourDialog {
        void master_bus_button_clicked ();
        void setup_more_options_box ();
 
+       /* --disable plugins UI */
+       Gtk::CheckButton _disable_plugins;
+       void disable_plugins_clicked ();
+
        /* always there */
 
        Glib::RefPtr<Pango::Layout> layout;