diff document/Document.h @ 107:dd11619b73ba

* Update along with latest Vamp API change. This has not yet been tested.
author Chris Cannam
date Mon, 26 Feb 2007 18:13:07 +0000
parents bedc7517b6e8
children 99d65ba33c88
line wrap: on
line diff
--- a/document/Document.h	Mon Feb 26 16:32:37 2007 +0000
+++ b/document/Document.h	Mon Feb 26 18:13:07 2007 +0000
@@ -105,14 +105,14 @@
      * by a transform layer _must_ be registered with the document
      * using addDerivedModel below.
      */
-    Layer *createDerivedLayer(LayerFactory::LayerType, TransformName);
+    Layer *createDerivedLayer(LayerFactory::LayerType, TransformId);
 
     /**
      * Create and return a suitable layer for the given transform,
      * running the transform and associating the resulting model with
      * the new layer.
      */
-    Layer *createDerivedLayer(TransformName,
+    Layer *createDerivedLayer(TransformId,
                               Model *inputModel, 
                               const PluginTransform::ExecutionContext &context,
                               QString configurationXml);
@@ -135,7 +135,7 @@
      * Add a derived model associated with the given transform,
      * running the transform and returning the resulting model.
      */
-    Model *addDerivedModel(TransformName transform,
+    Model *addDerivedModel(TransformId transform,
                            Model *inputModel,
                            const PluginTransform::ExecutionContext &context,
                            QString configurationXml);
@@ -145,7 +145,7 @@
      * is necessary to register any derived model that was not created
      * by the document using createDerivedModel or createDerivedLayer.
      */
-    void addDerivedModel(TransformName,
+    void addDerivedModel(TransformId,
                          Model *inputModel,
                          const PluginTransform::ExecutionContext &context,
                          Model *outputModelToAdd,
@@ -236,7 +236,7 @@
 	// transform involved but the (target) model has been modified
 	// since being generated from it.
 	const Model *source;
-	TransformName transform;
+	TransformId transform;
         PluginTransform::ExecutionContext context;
         QString configurationXml;