X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fsession_utils.h;h=f7e43e60732ab4ec785a799dda9d6a0d942887fd;hb=e2757229a74a17a76682b6c72868d8e4822b7678;hp=8aa4505fe5020f0e756d8ec994e28b070651348a;hpb=1ca0e752fd1eacf2bf51afba00fef971e0ea05ee;p=ardour.git diff --git a/libs/ardour/ardour/session_utils.h b/libs/ardour/ardour/session_utils.h index 8aa4505fe5..f7e43e6073 100644 --- a/libs/ardour/ardour/session_utils.h +++ b/libs/ardour/ardour/session_utils.h @@ -6,9 +6,18 @@ namespace ARDOUR { -using std::string; +int find_session (std::string str, std::string& path, std::string& snapshot, bool& isnew); -int find_session (string str, string& path, string& snapshot, bool& isnew); +/** + * Create a SessionDirectory at the path specified by + * session_directory_path, this includes all subdirectories. + * + * @return true if the session directory was able to be created + * or if it already existed, false otherwise. + * + * @see SessionDirectory + */ +bool create_session_directory (const std::string& session_directory_path); };