forward port automation handling changes from 2.x, upto and including about rev 6981...
[ardour.git] / libs / ardour / ardour / session_utils.h
1
2 #ifndef __ardour_session_utils_h__
3 #define __ardour_session_utils_h__
4
5 #include <string>
6
7 namespace ARDOUR {
8
9 int find_session (std::string str, std::string& path, std::string& snapshot, bool& isnew);
10
11 /**
12  * Create a SessionDirectory at the path specified by
13  * session_directory_path, this includes all subdirectories.
14  *
15  * @return true if the session directory was able to be created
16  * or if it already existed, false otherwise.
17  *
18  * @see SessionDirectory
19  */
20 bool create_session_directory (const std::string& session_directory_path);
21
22 };
23
24 #endif