From: Bj?rn H?h. <hoe...@us...> - 2004-03-25 13:55:59
|
Update of /cvsroot/ieqabar/ieqabar/src/library In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3132 Modified Files: XmlWriter.cxx XmlWriter.hxx Log Message: Make output FILE* configurable Index: XmlWriter.hxx =================================================================== RCS file: /cvsroot/ieqabar/ieqabar/src/library/XmlWriter.hxx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- XmlWriter.hxx 20 Mar 2004 00:28:36 -0000 1.1 +++ XmlWriter.hxx 25 Mar 2004 13:45:10 -0000 1.2 @@ -9,12 +9,12 @@ #include "IEQABase.hxx" -#include "genx/genx.h" +#include "genx.h" class XmlWriter { public: - XmlWriter(void); + XmlWriter(FILE* file); ~XmlWriter(); void XmlStyleSheet(LPCSTR href, LPCSTR type = "text/xsl"); Index: XmlWriter.cxx =================================================================== RCS file: /cvsroot/ieqabar/ieqabar/src/library/XmlWriter.cxx,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- XmlWriter.cxx 20 Mar 2004 06:22:37 -0000 1.3 +++ XmlWriter.cxx 25 Mar 2004 13:45:10 -0000 1.4 @@ -8,13 +8,13 @@ #define ITOA_MAX 33 -XmlWriter::XmlWriter(void) +XmlWriter::XmlWriter(FILE* file) { // todo: use genxSender to write to string m_piTarget = NULL; m_piData = NULL; m_w = genxNew(NULL, NULL, NULL); - m_status = genxStartDocFile(m_w, stdout); + m_status = genxStartDocFile(m_w, file); } XmlWriter::~XmlWriter() |