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