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();
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;
}
};