| e8555c89 Andy McCall |
1 |
#ifndef INTERPRETEROUTPUT_HH |
| 2 |
#define INTERPRETEROUTPUT_HH |
| 3 |
|
| 4 |
#include "CompletionCandidate.hh" |
| 5 |
|
| 6 |
#include <string_view> |
| 7 |
#include <vector> |
| 8 |
|
| 9 |
namespace openmsx { |
| 10 |
|
| 11 |
class InterpreterOutput |
| 12 |
{ |
| 13 |
public: |
| 14 |
virtual void output(std::string_view text) = 0; |
| 15 |
[[nodiscard]] virtual unsigned getOutputColumns() const = 0; |
| 16 |
|
| 17 |
virtual void setCompletions(std::vector<CompletionCandidate> completions) = 0; |
| 18 |
|
| 19 |
protected: |
| 20 |
~InterpreterOutput() = default; |
| 21 |
}; |
| 22 |
|
| 23 |
} |
| 24 |
|
| 25 |
#endif |