summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/session_utils.h
blob: f7e43e60732ab4ec785a799dda9d6a0d942887fd (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

#ifndef __ardour_session_utils_h__
#define __ardour_session_utils_h__

#include <string>

namespace ARDOUR {

int find_session (std::string str, std::string& path, std::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);

};

#endif