]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/textwriter.h
Add missing includes
[libs/datafile.git] / source / textwriter.h
index ad127debcb0813e98230502b8acfb224178341f8..74a67671b5e68ec732f5fd0ae24e86b9be9928e0 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef MSP_DATAFILE_TEXTWRITER_H_
 #define MSP_DATAFILE_TEXTWRITER_H_
 
+#include <msp/strings/fmt.h>
 #include "writermode.h"
 
 namespace Msp {
@@ -8,9 +9,13 @@ namespace DataFile {
 
 class TextWriter: public WriterMode
 {
+private:
+       Fmt float_format;
+
 public:
-       TextWriter(IO::Base &o);
+       TextWriter(Output &o);
 
+       virtual void set_float_precision(unsigned);
        virtual void write(const Statement &st);
 private:
        void write_(const Statement &st, unsigned);