diff options
Diffstat (limited to 'src/libutil/xml-writer.hh')
-rw-r--r-- | src/libutil/xml-writer.hh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libutil/xml-writer.hh b/src/libutil/xml-writer.hh index ae6c76ff2c9b..8c203a3486f0 100644 --- a/src/libutil/xml-writer.hh +++ b/src/libutil/xml-writer.hh @@ -18,13 +18,14 @@ private: ostream & output; + bool indent; bool closed; list<string> pendingElems; public: - XMLWriter(ostream & output); + XMLWriter(bool indent, ostream & output); ~XMLWriter(); void close(); @@ -40,6 +41,8 @@ public: private: void writeAttrs(const XMLAttrs & attrs); + + void indent_(unsigned int depth); }; |