diff framework/Document.h @ 236:dd14baa45847

Merge from branch "templating"
author Chris Cannam
date Sun, 26 Jun 2011 19:53:34 +0100
parents 2c827ac7c8e7
children 40a0fa9af6b4
line wrap: on
line diff
--- a/framework/Document.h	Tue Jun 14 15:27:12 2011 +0100
+++ b/framework/Document.h	Sun Jun 26 19:53:34 2011 +0100
@@ -214,6 +214,7 @@
     void alignModels();
 
     void toXml(QTextStream &, QString indent, QString extraAttributes) const;
+    void toXmlAsTemplate(QTextStream &, QString indent, QString extraAttributes) const;
 
 signals:
     void layerAdded(Layer *);
@@ -334,6 +335,9 @@
 
     static TransformId getAlignmentTransformName();
     
+    void toXml(QTextStream &, QString, QString, bool asTemplate) const;
+    void writePlaceholderMainModel(QTextStream &, QString) const;
+
     /**
      * And these are the layers.  We also control the lifespans of
      * these (usually through the commands used to add and remove them).