Mercurial > hg > svcore
diff transform/TransformFactory.cpp @ 57:7439f1696314
* Add editing for auralisation plugin parameters and programs
* Rename and reorganise the sample plugin sample set
author | Chris Cannam |
---|---|
date | Thu, 23 Mar 2006 15:49:41 +0000 |
parents | 2157fa46c1e7 |
children | 3086ff194ea0 |
line wrap: on
line diff
--- a/transform/TransformFactory.cpp Wed Mar 22 17:38:29 2006 +0000 +++ b/transform/TransformFactory.cpp Thu Mar 23 15:49:41 2006 +0000 @@ -168,6 +168,14 @@ } bool +TransformFactory::isTransformConfigurable(TransformName name) +{ + if (m_transforms.find(name) != m_transforms.end()) { + return m_transforms[name].configurable; + } else return false; +} + +bool TransformFactory::getConfigurationForTransform(TransformName name, Model *inputModel, QString &configurationXml) @@ -193,6 +201,7 @@ ok = true; } configurationXml = plugin->toXmlString(); + delete dialog; delete plugin; } }