Move playback_distance up to AudioDiskstream from Diskstream since it is only used...
[ardour.git] / libs / ardour / ardour / template_utils.h
index 0676d5b245144f7f6c69fc7717577e1a751eb88f..fefb4a7c47f77368286e3646c01adbfb658a7de9 100644 (file)
@@ -4,16 +4,23 @@
 
 #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);
 
 } // namespace ARDOUR