X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finput.h;h=d30abd618b755c6e4c524ba1174345a1b2da08c8;hb=e1b8089be727f651fc2022d6e7ff775047730e85;hp=e5748662d5a899b9f5b4b6201c69687c084da401;hpb=215e719d0ef85f748898660d15d01e77ac551de9;p=libs%2Fdatafile.git diff --git a/source/input.h b/source/input.h index e574866..d30abd6 100644 --- a/source/input.h +++ b/source/input.h @@ -1,27 +1,25 @@ -/* $Id$ - -This file is part of libmspdatafile -Copyright © 2006 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ #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; }