X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Foutput.h;fp=source%2Foutput.h;h=453260e340a78c46b78eec67b8ec14dd307bef03;hb=8e3fad222e174b7c659fd3d994d54314657ed989;hp=0000000000000000000000000000000000000000;hpb=9867e5fdf99d7d6c9d83846c11a1cee6a9919be1;p=libs%2Fdatafile.git diff --git a/source/output.h b/source/output.h new file mode 100644 index 0000000..453260e --- /dev/null +++ b/source/output.h @@ -0,0 +1,24 @@ +#ifndef MSP_DATAFILE_OUTPUT_H_ +#define MSP_DATAFILE_OUTPUT_H_ + +#include + +namespace Msp { +namespace DataFile { + +class Output +{ +private: + IO::Base *out; + +public: + Output(IO::Base &); + + unsigned put(char); + unsigned write(const std::string &); +}; + +} // namespace DataFile +} // namespace Msp + +#endif