From f4c20290509d7ed3a8fd5304577e7a4cc0b9d974 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 3 Apr 2007 03:49:53 +0000 Subject: Ok, no code is left in src, it's all in src/old. We'll gradually move code back into src as it's fixed and re-org'd. This includes tests, which, I may write a unit test system into libbu++ just to make my life easier. --- src/xmlfilewriter.cpp | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 src/xmlfilewriter.cpp (limited to 'src/xmlfilewriter.cpp') diff --git a/src/xmlfilewriter.cpp b/src/xmlfilewriter.cpp deleted file mode 100644 index 3c6fb41..0000000 --- a/src/xmlfilewriter.cpp +++ /dev/null @@ -1,28 +0,0 @@ -#include -#include -#include "xmlfilewriter.h" - -XmlFileWriter::XmlFileWriter( const char *sFileName, const char *sIndent, XmlNode *pRoot ) : - XmlWriter( sIndent, pRoot ) -{ - this->sFileName = sFileName; - fh = fopen( sFileName, "wt"); - fprintf( fh, "\n"); -} - -XmlFileWriter::XmlFileWriter( FILE *fh, const char *sIndent, XmlNode *pRoot ) : - XmlWriter( sIndent, pRoot ), - fh( fh ) -{ -} - -XmlFileWriter::~XmlFileWriter() -{ - fclose( fh ); -} - -void XmlFileWriter::writeString( const char *sString ) -{ - fputs( sString, fh ); -} - -- cgit v1.2.3