MIDI region forking, plus Playlist::regions_to_read() fix forward ported from 2.X...
[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         PBD::sys::path system_template_directory ();
12         PBD::sys::path system_route_template_directory ();
13
14         PBD::sys::path user_template_directory ();
15         PBD::sys::path user_route_template_directory ();
16
17         struct TemplateInfo {
18                 std::string name;
19                 std::string path;
20         };
21
22         void find_route_templates (std::vector<TemplateInfo>& template_names);
23         void find_session_templates (std::vector<TemplateInfo>& template_names);
24
25 } // namespace ARDOUR
26
27 #endif