summaryrefslogtreecommitdiffstats
path: root/xmlserializer/XmlComposer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xmlserializer/XmlComposer.cpp')
-rw-r--r--xmlserializer/XmlComposer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlserializer/XmlComposer.cpp b/xmlserializer/XmlComposer.cpp
index 2cdd5dc..ff607dd 100644
--- a/xmlserializer/XmlComposer.cpp
+++ b/xmlserializer/XmlComposer.cpp
@@ -80,7 +80,7 @@ bool CXmlComposer::close()
}
// Composing contents
-void CXmlComposer::compose(const IXmlSource* pXmlSource)
+void CXmlComposer::compose(const IXmlSource* pXmlSource, const string& strProduct, const string& strVersion)
{
// Compose document
CXmlElement docElement(_pRootNode);
@@ -92,7 +92,7 @@ void CXmlComposer::compose(const IXmlSource* pXmlSource)
docElement.setAttributeString("xsi:noNamespaceSchemaLocation", _strXmlSchemaFile);
// Comment for date/time
- docElement.setComment(string(" Exported on ") + getTimeAsString() + " from parameter-framework ");
+ docElement.setComment(string(" Exported on ") + getTimeAsString() + " from " + strProduct + " version " + strVersion + " ");
pXmlSource->toXml(docElement, _serializingContext);
}