diff src/vamp-hostsdk/Files.h @ 473:0545cd3f1738 enumerate-options

Add plugin enumeration options (for use by piper server, needs testing)
author Chris Cannam
date Wed, 02 Nov 2016 14:22:20 +0000
parents 06988ce35ff0
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	Wed Nov 02 14:22:20 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 *);