openMSX
CliListener.hh
Go to the documentation of this file.
1 #ifndef CLILISTENER_HH
2 #define CLILISTENER_HH
3 
4 #include "CliComm.hh"
5 
6 namespace openmsx {
7 
9 {
10 public:
11  CliListener(const CliListener&) = delete;
12  CliListener& operator=(const CliListener&) = delete;
13 
14  virtual ~CliListener() = default;
15 
16  virtual void log(CliComm::LogLevel level, std::string_view message) noexcept = 0;
17 
18  virtual void update(CliComm::UpdateType type, std::string_view machine,
19  std::string_view name, std::string_view value) noexcept = 0;
20 
21 protected:
22  CliListener() = default;
23 };
24 
25 } // namespace openmsx
26 
27 #endif
CliListener & operator=(const CliListener &)=delete
virtual void log(CliComm::LogLevel level, std::string_view message) noexcept=0
virtual ~CliListener()=default
virtual void update(CliComm::UpdateType type, std::string_view machine, std::string_view name, std::string_view value) noexcept=0
CliListener(const CliListener &)=delete
This file implemented 3 utility functions:
Definition: Autofire.cc:9