a long tricky day of playing with ArdourStartup and session naming/loading etc.
[ardour.git] / libs / ardour / ardour / template_utils.h
1
2 #ifndef TEMPLATE_UTILS_INCLUDED
3 #define TEMPLATE_UTILS_INCLUDED
4
5 #include <vector>
6
7 #include "pbd/filesystem.h"
8
9 namespace ARDOUR {
10
11         using std::vector;
12         using namespace PBD;
13
14         sys::path system_template_directory ();
15         sys::path system_route_template_directory ();
16
17         sys::path user_template_directory ();
18         sys::path user_route_template_directory ();
19
20         struct TemplateInfo {
21             std::string name;
22             std::string path;
23         };
24
25         void find_route_templates (std::vector<TemplateInfo>& template_names);
26         void find_session_templates (std::vector<TemplateInfo>& template_names);
27
28 } // namespace ARDOUR
29
30 #endif