From bb8fd64ea27254d1652cbf6700ae042959980909 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sat, 15 Jul 2006 01:01:07 +0000 Subject: Added stuff that I thought was already there... --- src/xmlfilewriter.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/xmlfilewriter.cpp') 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 fprintf( fh, "\n"); } +XmlFileWriter::XmlFileWriter( FILE *fh, const char *sIndent, XmlNode *pRoot ) : + XmlWriter( sIndent, pRoot ), + fh( fh ) +{ +} + XmlFileWriter::~XmlFileWriter() { fclose( fh ); -- cgit v1.2.3