diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2012-11-18 21:43:28 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2012-11-18 21:43:28 (GMT) |
commit | fee4053bd3dd075a2dd2cba4da8166ec5307eadd (patch) | |
tree | 94365b932426de715b3a479094b7056e0c4f878b /src/qhpxmlwriter.cpp | |
parent | ceb4115c7b941039411e1793e01239610ff112a2 (diff) | |
download | Doxygen-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.cpp | 6 |
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) |