fix construction of new xfades from legacy xfades, and add a few comments here and...
[ardour.git] / libs / ardour / ardour / template_utils.h
index 6ba0683e1eb6ca71984aaa5e7ce2908d1d92dfca..ec9fdaac8f17b069da687c80637ac68efe1e2dfd 100644 (file)
@@ -8,12 +8,21 @@
 
 namespace ARDOUR {
 
-       using std::vector;
-       using namespace PBD;
+       PBD::sys::path system_template_directory ();
+       PBD::sys::path system_route_template_directory ();
 
-       sys::path system_template_directory ();
+       PBD::sys::path user_template_directory ();
+       PBD::sys::path user_route_template_directory ();
 
-       sys::path user_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);
+
+       std::string session_template_dir_to_file (std::string const &);
 
 } // namespace ARDOUR