// $Id: Console.hh 4730 2005-09-27 19:27:11Z m9710797 $ #ifndef CONSOLE_HH #define CONSOLE_HH #include namespace openmsx { class Console { public: void setColumns(unsigned columns); unsigned getColumns() const; void setRows(unsigned rows); unsigned getRows() const; virtual unsigned getScrollBack() const = 0; virtual std::string getLine(unsigned line) const = 0; virtual void getCursorPosition(unsigned& xPosition, unsigned& yPosition) const = 0; protected: Console(); virtual ~Console(); private: unsigned columns; unsigned rows; }; } // namespace openmsx #endif