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

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

} // namespace ARDOUR

#endif