X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fwritermode.h;h=05058abe94138dad630dd46281fc721618ac2196;hb=43b8dee0bf05dee1b4a07cc001fae0c81ec53a2f;hp=5014f25cd1801398aa23f3fdc89190a0f3a9c9e9;hpb=6dd94a7fe90c6467024685fbac769067ddb74688;p=libs%2Fdatafile.git diff --git a/source/writermode.h b/source/writermode.h index 5014f25..05058ab 100644 --- a/source/writermode.h +++ b/source/writermode.h @@ -1,30 +1,23 @@ -/* $Id$ - -This file is part of libmspdatafile -Copyright © 2006 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_DATAFILE_WRITERMODE_H_ #define MSP_DATAFILE_WRITERMODE_H_ -#include - namespace Msp { namespace DataFile { +class Output; class Statement; class WriterMode { protected: - IO::Base &out; + Output &out; - WriterMode(IO::Base &o): out(o) { } + WriterMode(Output &o): out(o) { } public: virtual ~WriterMode() { } - virtual void write(const Statement &st) =0; + virtual void set_float_precision(unsigned) = 0; + virtual void write(const Statement &st) = 0; }; } // namespace DataFile