diff widgets/PluginParameterBox.h @ 71:72fa239a4880

* Modify to use Vamp SDK for proper feature extraction plugins. Requires that the vamp-plugin-sdk directory tree be present below plugin/ (it's separate in Subversion).
author Chris Cannam
date Fri, 31 Mar 2006 15:56:35 +0000
parents 10bcd53ddc71
children 195ad6178ef8
line wrap: on
line diff
--- a/widgets/PluginParameterBox.h	Thu Mar 30 15:00:22 2006 +0000
+++ b/widgets/PluginParameterBox.h	Fri Mar 31 15:56:35 2006 +0000
@@ -16,7 +16,7 @@
 #ifndef _PLUGIN_PARAMETER_BOX_H_
 #define _PLUGIN_PARAMETER_BOX_H_
 
-#include "plugin/PluginInstance.h"
+#include "vamp-sdk/PluginBase.h"
 
 #include <QFrame>
 #include <map>
@@ -31,10 +31,10 @@
     Q_OBJECT
     
 public:
-    PluginParameterBox(PluginInstance *, QWidget *parent = 0);
+    PluginParameterBox(Vamp::PluginBase *, QWidget *parent = 0);
     ~PluginParameterBox();
 
-    PluginInstance *getPlugin() { return m_plugin; }
+    Vamp::PluginBase *getPlugin() { return m_plugin; }
 
 signals:
     void pluginConfigurationChanged(QString);
@@ -49,13 +49,13 @@
     void populate();
 
     QGridLayout *m_layout;
-    PluginInstance *m_plugin;
+    Vamp::PluginBase *m_plugin;
 
     struct ParamRec {
         AudioDial *dial;
         QDoubleSpinBox *spin;
         QCheckBox *check;
-        PluginInstance::ParameterDescriptor param;
+        Vamp::PluginBase::ParameterDescriptor param;
     };
 
     std::map<QString, ParamRec> m_params;