diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-07-15 01:01:07 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-07-15 01:01:07 +0000 |
commit | bb8fd64ea27254d1652cbf6700ae042959980909 (patch) | |
tree | 52bcb4bbb1eb3e2fb24a926c58f701685a9d07af /src/xmlfilewriter.cpp | |
parent | 5b650d2d0c96545c5a276a1b819d0f5baebf8204 (diff) | |
download | libbu++-bb8fd64ea27254d1652cbf6700ae042959980909.tar.gz libbu++-bb8fd64ea27254d1652cbf6700ae042959980909.tar.bz2 libbu++-bb8fd64ea27254d1652cbf6700ae042959980909.tar.xz libbu++-bb8fd64ea27254d1652cbf6700ae042959980909.zip |
Added stuff that I thought was already there...
Diffstat (limited to '')
-rw-r--r-- | src/xmlfilewriter.cpp | 6 |
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 | ||
13 | XmlFileWriter::XmlFileWriter( FILE *fh, const char *sIndent, XmlNode *pRoot ) : | ||
14 | XmlWriter( sIndent, pRoot ), | ||
15 | fh( fh ) | ||
16 | { | ||
17 | } | ||
18 | |||
13 | XmlFileWriter::~XmlFileWriter() | 19 | XmlFileWriter::~XmlFileWriter() |
14 | { | 20 | { |
15 | fclose( fh ); | 21 | fclose( fh ); |