Mercurial > hg > svapp
diff framework/Document.h @ 226:2c827ac7c8e7 templating
When saving a session as a template, use the silent.wav placeholder instead of the main model
author | Chris Cannam |
---|---|
date | Wed, 11 May 2011 12:23:55 +0100 |
parents | 64b09e5bda21 |
children | 40a0fa9af6b4 |
line wrap: on
line diff
--- a/framework/Document.h Tue May 10 19:37:45 2011 +0100 +++ b/framework/Document.h Wed May 11 12:23:55 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).