7 #include <cpplocate/cpplocate_api.h> 101 CPPLOCATE_API std::string
locatePath(
const std::string & relPath,
const std::string & systemDir =
"",
void * symbol =
nullptr);
CPPLOCATE_API std::string getLibraryPath(void *symbol)
Get path to dynamic library.
Description of a module, containing key/value pairs.
Definition: ModuleInfo.h:20
CPPLOCATE_API const std::string & getModulePath()
Get path to the current module.
CPPLOCATE_API const std::string & getExecutablePath()
Get path to the current executable.
CPPLOCATE_API std::string locatePath(const std::string &relPath, const std::string &systemDir="", void *symbol=nullptr)
Locate path to a file or directory.
CPPLOCATE_API const std::string & getBundlePath()
Get path to the current application bundle.
Definition: cpplocate.h:10
CPPLOCATE_API ModuleInfo findModule(const std::string &name)
Tries to locate a module.