blob: ec9fdaac8f17b069da687c80637ac68efe1e2dfd (
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
27
28
29
|
#ifndef TEMPLATE_UTILS_INCLUDED
#define TEMPLATE_UTILS_INCLUDED
#include <vector>
#include "pbd/filesystem.h"
namespace ARDOUR {
PBD::sys::path system_template_directory ();
PBD::sys::path system_route_template_directory ();
PBD::sys::path user_template_directory ();
PBD::sys::path user_route_template_directory ();
struct TemplateInfo {
std::string name;
std::string path;
};
void find_route_templates (std::vector<TemplateInfo>& template_names);
void find_session_templates (std::vector<TemplateInfo>& template_names);
std::string session_template_dir_to_file (std::string const &);
} // namespace ARDOUR
#endif
|