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

#ifndef TEMPLATE_UTILS_INCLUDED
#define TEMPLATE_UTILS_INCLUDED

#include <string>
#include <vector>

namespace ARDOUR {

	std::string system_template_directory ();
	std::string system_route_template_directory ();

	std::string user_template_directory ();
	std::string 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