diff vamp-hostsdk/PluginLoader.h @ 426:5502a06537f6 vampipe

Add listPluginData
author Chris Cannam
date Thu, 12 May 2016 15:53:55 +0100
parents 8c45dee08a95
children 9c25e2289faa
line wrap: on
line diff
--- a/vamp-hostsdk/PluginLoader.h	Thu May 12 14:43:10 2016 +0100
+++ b/vamp-hostsdk/PluginLoader.h	Thu May 12 15:53:55 2016 +0100
@@ -123,12 +123,28 @@
     typedef std::vector<std::string> PluginCategoryHierarchy;
 
     /**
+     * PluginStaticDataList is a list containing static information
+     * about a set of Vamp plugins.
+     *
+     * \see PluginStaticData, listPluginData()
+     */
+    typedef std::vector<PluginStaticData> PluginStaticDataList;
+    
+    /**
      * Search for all available Vamp plugins, and return a list of
      * them in the order in which they were found.
      */
     PluginKeyList listPlugins();
 
     /**
+     * Search for all available Vamp plugins, and return a list of
+     * static data about each plugin in the order in which they were
+     * found. This is slower but returns more comprehensive
+     * information than listPlugins().
+     */
+    PluginStaticDataList listPluginData();
+
+    /**
      * AdapterFlags contains a set of values that may be OR'd together
      * to indicate in which circumstances PluginLoader should use a
      * plugin adapter to make a plugin easier to use for a host that