comparison 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
comparison
equal deleted inserted replaced
55:6befca60ab4e 56:2157fa46c1e7
169 * Set the parameters and program of a plugin from a set of XML 169 * Set the parameters and program of a plugin from a set of XML
170 * attributes. This is a partial inverse of toXmlString. 170 * attributes. This is a partial inverse of toXmlString.
171 */ 171 */
172 virtual void setParameters(const QXmlAttributes &); 172 virtual void setParameters(const QXmlAttributes &);
173 173
174 /**
175 * Set the parameters and program of a plugin from an XML plugin
176 * element as returned by toXmlString. This is a partial inverse
177 * of toXmlString.
178 */
179 virtual void setParametersFromXml(QString xml);
180
174 protected: 181 protected:
175 QString stripInvalidParameterNameCharacters(QString) const; 182 QString stripInvalidParameterNameCharacters(QString) const;
176 }; 183 };
177 184
178 #endif 185 #endif