diff document/Document.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 cd5d7ff8ef38
children ca1e3f5657d5
line wrap: on
line diff
--- a/document/Document.h	Mon Sep 18 16:43:17 2006 +0000
+++ b/document/Document.h	Tue Sep 19 14:37:06 2006 +0000
@@ -18,6 +18,7 @@
 
 #include "layer/LayerFactory.h"
 #include "transform/Transform.h"
+#include "transform/PluginTransform.h"
 #include "base/Command.h"
 
 #include <map>
@@ -113,7 +114,7 @@
      */
     Layer *createDerivedLayer(TransformName,
                               Model *inputModel, 
-                              int inputChannel, // -1 -> all
+                              const PluginTransform::ExecutionContext &context,
                               QString configurationXml);
 
     /**
@@ -136,7 +137,7 @@
      */
     void addDerivedModel(TransformName,
                          Model *inputModel,
-                         int inputChannel, // -1 -> all
+                         const PluginTransform::ExecutionContext &context,
                          Model *outputModelToAdd,
                          QString configurationXml);
 
@@ -194,7 +195,7 @@
 protected:
     Model *createModelForTransform(TransformName transform,
                                    Model *inputModel,
-                                   int channel,
+                                   const PluginTransform::ExecutionContext &context,
                                    QString configurationXml);
     void releaseModel(Model *model);
 
@@ -230,7 +231,7 @@
 	// since being generated from it.
 	const Model *source;
 	TransformName transform;
-        int channel;
+        PluginTransform::ExecutionContext context;
         QString configurationXml;
 
 	// Count of the number of layers using this model.