summaryrefslogtreecommitdiff
path: root/libs/ardour/search_paths.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-01-29 22:29:52 +0100
committerRobin Gareus <robin@gareus.org>2018-01-30 01:33:45 +0100
commit4d173d604896c80c99f7e4cdaa3908b55b0fdb81 (patch)
treed9a5c7975ca200d611d55809fc2167e84927eee4 /libs/ardour/search_paths.cc
parent07725134993ac9cf5f62e23cd44a91913a1a073a (diff)
Prepare plugin-meta-data config-dir and files
Diffstat (limited to 'libs/ardour/search_paths.cc')
-rw-r--r--libs/ardour/search_paths.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/search_paths.cc b/libs/ardour/search_paths.cc
index 96df905eda..cc488b8723 100644
--- a/libs/ardour/search_paths.cc
+++ b/libs/ardour/search_paths.cc
@@ -167,6 +167,14 @@ template_search_path ()
}
Searchpath
+plugin_metadata_search_path ()
+{
+ Searchpath spath (ardour_data_search_path());
+ spath.add_subdirectory_to_paths(plugin_metadata_dir_name);
+ return spath;
+}
+
+Searchpath
route_template_search_path ()
{
Searchpath spath (ardour_data_search_path());