X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=source%2Ftextwriter.h;h=fef437930bb0271ff097d78079a421bef7f5ec4f;hp=5c83b7a59fa9386e389c4e527989fe6e1c1f746b;hb=b39ce68f12c30eedb272b65fe78baec5864d89ca;hpb=27630d44298cb67e075c166f4421288cc8ca117e diff --git a/source/textwriter.h b/source/textwriter.h index 5c83b7a..fef4379 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_ @@ -15,9 +8,14 @@ namespace DataFile { class TextWriter: public WriterMode { +private: + Fmt float_format; + public: - TextWriter(std::ostream &o); - void write(const Statement &st); + TextWriter(Output &o); + + virtual void set_float_precision(unsigned); + virtual void write(const Statement &st); private: void write_(const Statement &st, unsigned); };