Remove internal edit mode and add "content" tool.
[ardour.git] / gtk2_ardour / session_dialog.h
index 21d2f5ea3ffb0fa46954d1fc65ab4824070db76c..ef3717b778cbecaff676a95735fc0f1e7b350ef1 100644 (file)
@@ -47,12 +47,15 @@ class EngineControl;
 
 class SessionDialog : public ArdourDialog {
   public:
-        SessionDialog (bool require_new, const std::string& session_name, const std::string& session_path, const std::string& template_name);
+        SessionDialog (bool require_new, const std::string& session_name, const std::string& session_path, 
+                      const std::string& template_name, bool cancel_not_quit);
        ~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();
 
@@ -101,7 +104,7 @@ class SessionDialog : public ArdourDialog {
 
        struct RecentSessionsSorter {
            bool operator() (std::pair<std::string,std::string> a, std::pair<std::string,std::string> b) const {
-                   return cmp_nocase(a.first, b.first) == -1;
+                   return ARDOUR::cmp_nocase(a.first, b.first) == -1;
            }
        };