X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftextwriter.h;h=641fc2e2e01e0e7d9f9839a59e3d7e3801eeddbb;hb=d8bda96a0aac09774bb1e2a8b57ac2e48a93b3c1;hp=4caa6b8105ce795d0175840c996cbf5262b66e69;hpb=215e719d0ef85f748898660d15d01e77ac551de9;p=libs%2Fdatafile.git diff --git a/source/textwriter.h b/source/textwriter.h index 4caa6b8..641fc2e 100644 --- a/source/textwriter.h +++ b/source/textwriter.h @@ -1,13 +1,7 @@ -/* $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_ +#include #include "writermode.h" namespace Msp { @@ -15,10 +9,14 @@ namespace DataFile { class TextWriter: public WriterMode { +private: + Fmt float_format; + public: - TextWriter(IO::Base &o); + TextWriter(Output &o); - virtual void write(const Statement &st); + void set_float_precision(unsigned) override; + void write(const Statement &st) override; private: void write_(const Statement &st, unsigned); };