aboutsummaryrefslogtreecommitdiff
path: root/src/xmlfilewriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlfilewriter.cpp')
-rw-r--r--src/xmlfilewriter.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xmlfilewriter.cpp b/src/xmlfilewriter.cpp
index b62fb11..19120a0 100644
--- a/src/xmlfilewriter.cpp
+++ b/src/xmlfilewriter.cpp
@@ -10,6 +10,12 @@ XmlFileWriter::XmlFileWriter( const char *sFileName, const char *sIndent, XmlNod
10 fprintf( fh, "<?xml version=\"1.0\"?>\n"); 10 fprintf( fh, "<?xml version=\"1.0\"?>\n");
11} 11}
12 12
13XmlFileWriter::XmlFileWriter( FILE *fh, const char *sIndent, XmlNode *pRoot ) :
14 XmlWriter( sIndent, pRoot ),
15 fh( fh )
16{
17}
18
13XmlFileWriter::~XmlFileWriter() 19XmlFileWriter::~XmlFileWriter()
14{ 20{
15 fclose( fh ); 21 fclose( fh );