diff document/Document.cpp @ 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 2678a1f132d2
children d25ea0c2af5c
line wrap: on
line diff
--- a/document/Document.cpp	Mon Feb 26 16:32:37 2007 +0000
+++ b/document/Document.cpp	Mon Feb 26 18:13:07 2007 +0000
@@ -149,7 +149,7 @@
 
 Layer *
 Document::createDerivedLayer(LayerFactory::LayerType type,
-			     TransformName transform)
+			     TransformId transform)
 {
     Layer *newLayer = createLayer(type);
     if (!newLayer) return 0;
@@ -162,7 +162,7 @@
 }
 
 Layer *
-Document::createDerivedLayer(TransformName transform,
+Document::createDerivedLayer(TransformId transform,
                              Model *inputModel, 
                              const PluginTransform::ExecutionContext &context,
                              QString configurationXml)
@@ -261,7 +261,7 @@
 	    // This model was derived from the previous main
 	    // model: regenerate it.
 	    
-	    TransformName transform = m_models[model].transform;
+	    TransformId transform = m_models[model].transform;
             PluginTransform::ExecutionContext context = m_models[model].context;
 	    
 	    Model *replacementModel =
@@ -309,7 +309,7 @@
 }
 
 void
-Document::addDerivedModel(TransformName transform,
+Document::addDerivedModel(TransformId transform,
                           Model *inputModel,
                           const PluginTransform::ExecutionContext &context,
                           Model *outputModelToAdd,
@@ -356,7 +356,7 @@
 }
 
 Model *
-Document::addDerivedModel(TransformName transform,
+Document::addDerivedModel(TransformId transform,
                           Model *inputModel,
                           const PluginTransform::ExecutionContext &context,
                           QString configurationXml)