X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftextwriter.h;h=ad127debcb0813e98230502b8acfb224178341f8;hb=7df5e45c7f414f6a07681dc4ec2abb63b091a309;hp=5c83b7a59fa9386e389c4e527989fe6e1c1f746b;hpb=27630d44298cb67e075c166f4421288cc8ca117e;p=libs%2Fdatafile.git diff --git a/source/textwriter.h b/source/textwriter.h index 5c83b7a..ad127de 100644 --- a/source/textwriter.h +++ b/source/textwriter.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspdatafile -Copyright © 2006 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_DATAFILE_TEXTWRITER_H_ #define MSP_DATAFILE_TEXTWRITER_H_ @@ -16,8 +9,9 @@ namespace DataFile { class TextWriter: public WriterMode { public: - TextWriter(std::ostream &o); - void write(const Statement &st); + TextWriter(IO::Base &o); + + virtual void write(const Statement &st); private: void write_(const Statement &st, unsigned); };