diff options
author | John Emmas <johne53@tiscali.co.uk> | 2014-03-10 15:59:12 +0000 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2014-03-10 16:24:10 +0000 |
commit | 34c67ba85403fc0e785e2bf135581cd9ed8a3cd4 (patch) | |
tree | 114be346268a967b3bfcfc8afed4950c165086bf /libs/ardour/template_utils.cc | |
parent | b32d9a1c70cb81680b75f3b02ae54d4e6afb20e5 (diff) |
Move 'template_search_path()' and 'route_template_search_path()' into 'libs/ardour/search_paths.cc'
Diffstat (limited to 'libs/ardour/template_utils.cc')
-rw-r--r-- | libs/ardour/template_utils.cc | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/libs/ardour/template_utils.cc b/libs/ardour/template_utils.cc index b912fdc446..8efe311536 100644 --- a/libs/ardour/template_utils.cc +++ b/libs/ardour/template_utils.cc @@ -30,6 +30,7 @@ #include "ardour/directory_names.h" #include "ardour/filesystem_paths.h" #include "ardour/filename_extensions.h" +#include "ardour/search_paths.h" #include "ardour/io.h" using namespace std; @@ -37,22 +38,6 @@ using namespace PBD; namespace ARDOUR { -Searchpath -template_search_path () -{ - Searchpath spath (ardour_data_search_path()); - spath.add_subdirectory_to_paths(templates_dir_name); - return spath; -} - -Searchpath -route_template_search_path () -{ - Searchpath spath (ardour_data_search_path()); - spath.add_subdirectory_to_paths(route_templates_dir_name); - return spath; -} - std::string user_template_directory () { |