X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finput.h;h=d30abd618b755c6e4c524ba1174345a1b2da08c8;hb=e1b8089be727f651fc2022d6e7ff775047730e85;hp=9fa4b853a668640736fb4a37f97bf1c71ef23fd3;hpb=7df5e45c7f414f6a07681dc4ec2abb63b091a309;p=libs%2Fdatafile.git diff --git a/source/input.h b/source/input.h index 9fa4b85..d30abd6 100644 --- a/source/input.h +++ b/source/input.h @@ -1,21 +1,25 @@ #ifndef MSP_DATAFILE_INPUT_H_ #define MSP_DATAFILE_INPUT_H_ +#include #include namespace Msp { namespace DataFile { -class Input +class Input: private NonCopyable { private: - IO::Base ∈ + IO::Base *in; + IO::Base *compressed; unsigned line; int next; public: Input(IO::Base &); + ~Input(); + void set_decompress(); int get(); int peek(); unsigned get_line_number() const { return line; }