diff plugin/PluginInstance.h @ 56:2157fa46c1e7

* Add plugin parameter dialog, and use it to set up parameters for feature extraction plugins via a semi-opaque (translucent?) configurationXml string which is associated with a given transform instance. This is not yet saved to and restored from the SV file properly. * Remove no-longer-relevant BeatDetect and BeatDetectionFunction transforms (replaced a long time ago with the beat detector plugin).
author Chris Cannam
date Wed, 22 Mar 2006 17:38:29 +0000
parents 6befca60ab4e
children 7439f1696314
line wrap: on
line diff
--- a/plugin/PluginInstance.h	Wed Mar 22 13:23:50 2006 +0000
+++ b/plugin/PluginInstance.h	Wed Mar 22 17:38:29 2006 +0000
@@ -171,6 +171,13 @@
      */
     virtual void setParameters(const QXmlAttributes &);
 
+    /**
+     * Set the parameters and program of a plugin from an XML plugin
+     * element as returned by toXmlString.  This is a partial inverse
+     * of toXmlString.
+     */
+    virtual void setParametersFromXml(QString xml);
+
 protected:
     QString stripInvalidParameterNameCharacters(QString) const;
 };