openMSX
InterpreterOutput.hh
Go to the documentation of this file.
1#ifndef INTERPRETEROUTPUT_HH
2#define INTERPRETEROUTPUT_HH
3
4#include <string_view>
5
6namespace openmsx {
7
9{
10public:
11 virtual void output(std::string_view text) = 0;
12 [[nodiscard]] virtual unsigned getOutputColumns() const = 0;
13
14protected:
15 ~InterpreterOutput() = default;
16};
17
18} // namespace openmsx
19
20#endif
virtual unsigned getOutputColumns() const =0
virtual void output(std::string_view text)=0
This file implemented 3 utility functions:
Definition Autofire.cc:11