summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/session_utils.h
blob: 8a9f6f584cc1ae30dc0d951a4884a5baf2137b78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

#ifndef __ardour_session_utils_h__
#define __ardour_session_utils_h__

#include <string>

namespace ARDOUR {

using std::string;

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 string& session_directory_path);

};

#endif