summaryrefslogtreecommitdiffstats
path: root/src/qhpxmlwriter.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2012-11-18 21:43:28 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2012-11-18 21:43:28 (GMT)
commitfee4053bd3dd075a2dd2cba4da8166ec5307eadd (patch)
tree94365b932426de715b3a479094b7056e0c4f878b /src/qhpxmlwriter.cpp
parentceb4115c7b941039411e1793e01239610ff112a2 (diff)
downloadDoxygen-fee4053bd3dd075a2dd2cba4da8166ec5307eadd.zip
Doxygen-fee4053bd3dd075a2dd2cba4da8166ec5307eadd.tar.gz
Doxygen-fee4053bd3dd075a2dd2cba4da8166ec5307eadd.tar.bz2
Release-1.8.2-20121118
Diffstat (limited to 'src/qhpxmlwriter.cpp')
-rw-r--r--src/qhpxmlwriter.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qhpxmlwriter.cpp b/src/qhpxmlwriter.cpp
index 93bb8cd..edf9ae0 100644
--- a/src/qhpxmlwriter.cpp
+++ b/src/qhpxmlwriter.cpp
@@ -84,6 +84,12 @@ void QhpXmlWriter::close(char const * elementName)
newLine();
}
+void QhpXmlWriter::declaration(char const * version, char const * encoding)
+{
+ m_out << "<?xml version=\"" << version << "\" encoding=\"" << encoding << "\"?>";
+ newLine();
+}
+
void QhpXmlWriter::indent()
{
if (m_curLineIndented)