diff transform/TransformFactory.h @ 27:61259228d029

* More to do with passing around step/blocksize etc from plugin dialog to plugins. Still some puzzling unresolved details.
author Chris Cannam
date Tue, 19 Sep 2006 14:37:06 +0000
parents d88d117e0c34
children 544ab25d2372
line wrap: on
line diff
--- a/transform/TransformFactory.h	Mon Sep 18 16:43:17 2006 +0000
+++ b/transform/TransformFactory.h	Tue Sep 19 14:37:06 2006 +0000
@@ -17,6 +17,7 @@
 #define _TRANSFORM_FACTORY_H_
 
 #include "Transform.h"
+#include "PluginTransform.h"
 
 #include <map>
 
@@ -68,7 +69,7 @@
      */
     bool getConfigurationForTransform(TransformName name,
                                       Model *inputModel,
-                                      int &channel,
+                                      PluginTransform::ExecutionContext &context,
                                       QString &configurationXml);
 
     /**
@@ -85,7 +86,8 @@
      * when no longer needed.
      */
     Model *transform(TransformName name, Model *inputModel,
-                     int channel, QString configurationXml = "");
+                     const PluginTransform::ExecutionContext &context,
+                     QString configurationXml = "");
 
     /**
      * Full description of a transform, suitable for putting on a menu.
@@ -128,7 +130,8 @@
 
 protected:
     Transform *createTransform(TransformName name, Model *inputModel,
-                               int channel, QString configurationXml, bool start);
+                               const PluginTransform::ExecutionContext &context,
+                               QString configurationXml, bool start);
 
     struct TransformIdent
     {