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

	using std::vector;
	using namespace PBD;

	sys::path system_template_directory ();
	sys::path system_route_template_directory ();

	sys::path user_template_directory ();
	sys::path user_route_template_directory ();

	struct RouteTemplateInfo {
	    std::string name;
	    std::string path;
	};

	void find_route_templates (std::vector<RouteTemplateInfo>& template_names);

} // namespace ARDOUR

#endif