--- /dev/null
+/*
+This file is part of libmspparser
+Copyright © 2006 Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+#ifndef MSP_PARSER_INPUT_H_
+#define MSP_PARSER_INPUT_H_
+
+#include <istream>
+
+namespace Msp {
+namespace Parser {
+
+class Input
+{
+public:
+ Input(std::istream &);
+ int get();
+ int peek();
+ unsigned get_line_number() const { return line; }
+ operator bool() const { return (bool)in; }
+private:
+ std::istream ∈
+ unsigned line;
+ int next;
+};
+
+} // namespace Parser
+} // namespace Msp
+
+#endif