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

#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 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);

} // namespace ARDOUR

#endif