25 #ifndef INCLUDED_SearchPath_h_GUID_D9D19BF6_FEB5_4B82_17A4_C8C397C88523
26 #define INCLUDED_SearchPath_h_GUID_D9D19BF6_FEB5_4B82_17A4_C8C397C88523
39 namespace pluginhost {
41 typedef std::vector<std::string> SearchPath;
42 typedef std::vector<std::string> FileList;
48 OSVR_PLUGINHOST_EXPORT FileList
52 OSVR_PLUGINHOST_EXPORT std::string
53 findPlugin(SearchPath
const &searchPaths,
const std::string &pluginName);
58 #endif // INCLUDED_SearchPath_h_GUID_D9D19BF6_FEB5_4B82_17A4_C8C397C88523
FileList getAllFilesWithExt(SearchPath const &dirPath, const std::string &ext)
Get list of files inside the directory with given extension.
SearchPath getPluginSearchPath()
Find a place where to look for plugins.
Automatically-generated export header - do not edit!
std::string findPlugin(SearchPath const &searchPaths, const std::string &pluginName)
Given the name of a plugin, find the full path to the plugin library.