X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Ftemplate_utils.h;h=fefb4a7c47f77368286e3646c01adbfb658a7de9;hb=e5c607123588b318f28022488d74790fc1b7bebe;hp=0676d5b245144f7f6c69fc7717577e1a751eb88f;hpb=449aab3c465bbbf66d221fac3d7ea559f1720357;p=ardour.git diff --git a/libs/ardour/ardour/template_utils.h b/libs/ardour/ardour/template_utils.h index 0676d5b245..fefb4a7c47 100644 --- a/libs/ardour/ardour/template_utils.h +++ b/libs/ardour/ardour/template_utils.h @@ -4,16 +4,23 @@ #include -#include +#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& template_names); + void find_session_templates (std::vector& template_names); } // namespace ARDOUR