From cb713f7c476ee67a2a15ffaa13375ecf8b06a445 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 16 Mar 2019 21:05:24 +0100 Subject: Use search path facilities to find modules --- ingen/runtime_paths.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ingen/runtime_paths.hpp') diff --git a/ingen/runtime_paths.hpp b/ingen/runtime_paths.hpp index fb697b14..a83a81fd 100644 --- a/ingen/runtime_paths.hpp +++ b/ingen/runtime_paths.hpp @@ -36,7 +36,7 @@ find_in_search_path(const std::string& name, INGEN_API FilePath bundle_file_path(const std::string& name); INGEN_API FilePath data_file_path(const std::string& name); -INGEN_API FilePath ingen_module_path(const std::string& name, FilePath dir={}); +INGEN_API FilePath ingen_module_path(const std::string& name); INGEN_API FilePath user_config_dir(); INGEN_API FilePath user_data_dir(); @@ -44,6 +44,7 @@ INGEN_API std::vector system_config_dirs(); INGEN_API std::vector system_data_dirs(); INGEN_API std::vector config_dirs(); INGEN_API std::vector data_dirs(); +INGEN_API std::vector ingen_module_dirs(); } // namespace ingen -- cgit v1.2.1