fix construction of new xfades from legacy xfades, and add a few comments here and...
[ardour.git] / libs / ardour / ardour / template_utils.h
index 0676d5b245144f7f6c69fc7717577e1a751eb88f..ec9fdaac8f17b069da687c80637ac68efe1e2dfd 100644 (file)
@@ -4,16 +4,25 @@
 
 #include <vector>
 
-#include <pbd/filesystem.h>
+#include "pbd/filesystem.h"
 
 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