X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fvirtualfilesystem.h;h=592f6bfdf0603098b9612466d0fc25165a0d0989;hb=dceec8d95c63aaf4d8d4b367c9846caf9e32a6bf;hp=5ecc04b414f04f15ea059c48af19470312dfc4a8;hpb=40177b0cfc0d4e67f971941f632e4f1f7e7c3f88;p=builder.git diff --git a/source/virtualfilesystem.h b/source/virtualfilesystem.h index 5ecc04b..592f6bf 100644 --- a/source/virtualfilesystem.h +++ b/source/virtualfilesystem.h @@ -33,7 +33,7 @@ public: path. Considers known targets as well as existing files. If a matching target is not found but a file exists, a new SystemHeader target will be created and returned. */ - FileTarget *find_header(const std::string &, const Msp::FS::Path &, const SearchPath &); + FileTarget *find_header(const std::string &, const SearchPath &); /** Tries to locate a library in a library path. The library name should be the same as would be given to the linker with -l, i.e. without the "lib" @@ -52,7 +52,7 @@ private: FileTarget *get_library(const std::string &, const Msp::FS::Path &, LibMode); - void fill_candidates(std::list &, const std::list &, const std::string &); + Msp::FS::Path try_patterns(const Msp::FS::Path &, const std::list &, const std::string &); }; #endif