diff options
author | David Robillard <d@drobilla.net> | 2019-03-16 21:05:24 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-03-16 21:05:24 +0100 |
commit | cb713f7c476ee67a2a15ffaa13375ecf8b06a445 (patch) | |
tree | 29e2d651a73d5d9239284d84a8d091cdd0d91417 /ingen | |
parent | f7ace4ffc6dabd93a4d0abc6121dd8dd87ce7af1 (diff) | |
download | ingen-cb713f7c476ee67a2a15ffaa13375ecf8b06a445.tar.gz ingen-cb713f7c476ee67a2a15ffaa13375ecf8b06a445.tar.bz2 ingen-cb713f7c476ee67a2a15ffaa13375ecf8b06a445.zip |
Use search path facilities to find modules
Diffstat (limited to 'ingen')
-rw-r--r-- | ingen/runtime_paths.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<FilePath> system_config_dirs(); INGEN_API std::vector<FilePath> system_data_dirs(); INGEN_API std::vector<FilePath> config_dirs(); INGEN_API std::vector<FilePath> data_dirs(); +INGEN_API std::vector<FilePath> ingen_module_dirs(); } // namespace ingen |