Mercurial > hg > vamp-plugin-sdk
diff 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 |
line wrap: on
line diff
--- a/src/vamp-hostsdk/Files.h Fri Oct 28 14:30:26 2016 +0100 +++ b/src/vamp-hostsdk/Files.h Fri Nov 04 10:44:27 2016 +0000 @@ -47,7 +47,13 @@ { public: static std::vector<std::string> listLibraryFiles(); - static std::vector<std::string> listLibraryFilesMatching(std::string libname); + + struct Filter { + enum { All, Matching, NotMatching } type; + std::vector<std::string> libraryNames; + Filter() : type(All) { } + }; + static std::vector<std::string> listLibraryFilesMatching(Filter); static void *loadLibrary(std::string filename); static void unloadLibrary(void *);