comparison transform/TransformFactory.h @ 53:94f1c2747de4

* Tidy up plugin parameter dialog by switching it to a simple constructor with separate methods for passing in the additional options if necessary * Fix sizing problem on advanced pane toggle in plugin parameter dialog * Make a start on passing in list of candidate input models for transform
author Chris Cannam
date Wed, 11 Oct 2006 16:18:51 +0000
parents fbd7a497fd89
children e200055fe80b
comparison
equal deleted inserted replaced
52:527598e2fa10 53:94f1c2747de4
76 std::vector<QString> getTransformCategories(QString transformType); 76 std::vector<QString> getTransformCategories(QString transformType);
77 std::vector<QString> getTransformMakers(QString transformType); 77 std::vector<QString> getTransformMakers(QString transformType);
78 78
79 /** 79 /**
80 * Get a configuration XML string for the given transform (by 80 * Get a configuration XML string for the given transform (by
81 * asking the user, most likely). Returns true if the transform 81 * asking the user, most likely). Returns the selected input
82 * is acceptable, false if the operation should be cancelled. 82 * model if the transform is acceptable, 0 if the operation should
83 * Audio callback play source may be used to audition effects 83 * be cancelled. Audio callback play source may be used to
84 * plugins, if provided. 84 * audition effects plugins, if provided.
85 */ 85 */
86 bool getConfigurationForTransform(TransformName name, 86 Model *getConfigurationForTransform(TransformName name,
87 Model *inputModel, 87 const std::vector<Model *> &candidateInputModels,
88 PluginTransform::ExecutionContext &context, 88 PluginTransform::ExecutionContext &context,
89 QString &configurationXml, 89 QString &configurationXml,
90 AudioCallbackPlaySource *source = 0); 90 AudioCallbackPlaySource *source = 0);
91 91
92 /** 92 /**
93 * Return the output model resulting from applying the named 93 * Return the output model resulting from applying the named
94 * transform to the given input model. The transform may still be 94 * transform to the given input model. The transform may still be
95 * working in the background when the model is returned; check the 95 * working in the background when the model is returned; check the