X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Foutput.h;h=bd75651d1ebaef4f0ba3108918126b1d76bda144;hb=e1b8089be727f651fc2022d6e7ff775047730e85;hp=453260e340a78c46b78eec67b8ec14dd307bef03;hpb=8e3fad222e174b7c659fd3d994d54314657ed989;p=libs%2Fdatafile.git diff --git a/source/output.h b/source/output.h index 453260e..bd75651 100644 --- a/source/output.h +++ b/source/output.h @@ -1,18 +1,23 @@ #ifndef MSP_DATAFILE_OUTPUT_H_ #define MSP_DATAFILE_OUTPUT_H_ +#include #include namespace Msp { namespace DataFile { -class Output +class Output: private NonCopyable { private: IO::Base *out; + IO::Base *compressed; public: Output(IO::Base &); + ~Output(); + + void set_compressed(); unsigned put(char); unsigned write(const std::string &);