diff options
author | Marius Kintel <marius@kintel.net> | 2013-05-25 21:45:13 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-05-25 21:45:13 (GMT) |
commit | cc6ac10e47ff67fd1d4f5fb8c61fea300f163b1d (patch) | |
tree | 2226c6c1ded88cde597a6a882894dd0ae8f50320 /src/parsersettings.h | |
parent | 9740232b080ac3d2fe87309fb51a892faf6ea913 (diff) |
Search paths when looking for previously missing includes. Should provide most of what's needed for #364
Diffstat (limited to 'src/parsersettings.h')
-rw-r--r-- | src/parsersettings.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/parsersettings.h b/src/parsersettings.h index 12b4a61..52172b6 100644 --- a/src/parsersettings.h +++ b/src/parsersettings.h @@ -8,8 +8,9 @@ extern int parser_error_pos; void parser_init(const std::string &applicationpath); void add_librarydir(const std::string &libdir); -fs::path search_libs(const std::string &filename); -fs::path find_valid_path( fs::path sourcepath, std::string filename, - std::vector<std::string> openfilenames ); +fs::path search_libs(const fs::path &localpath); +fs::path find_valid_path(const fs::path &sourcepath, + const fs::path &localpath, + const std::vector<std::string> *openfilenames = NULL); #endif |