comparison src/vamp-hostsdk/Files.h @ 474:8e846c1aed96

Merge from branch enumerate-options
author Chris Cannam
date Fri, 04 Nov 2016 10:44:27 +0000
parents 0545cd3f1738
children 54277cb679ff
comparison
equal deleted inserted replaced
472:79a219ba6178 474:8e846c1aed96
45 */ 45 */
46 class Files 46 class Files
47 { 47 {
48 public: 48 public:
49 static std::vector<std::string> listLibraryFiles(); 49 static std::vector<std::string> listLibraryFiles();
50 static std::vector<std::string> listLibraryFilesMatching(std::string libname); 50
51 struct Filter {
52 enum { All, Matching, NotMatching } type;
53 std::vector<std::string> libraryNames;
54 Filter() : type(All) { }
55 };
56 static std::vector<std::string> listLibraryFilesMatching(Filter);
51 57
52 static void *loadLibrary(std::string filename); 58 static void *loadLibrary(std::string filename);
53 static void unloadLibrary(void *); 59 static void unloadLibrary(void *);
54 static void *lookupInLibrary(void *, const char *symbol); 60 static void *lookupInLibrary(void *, const char *symbol);
55 61