openMSX
MSXCliComm.hh
Go to the documentation of this file.
1 #ifndef MSXCLICOMM_HH
2 #define MSXCLICOMM_HH
3 
4 #include "CliComm.hh"
5 #include "hash_map.hh"
6 #include "xxhash.hh"
7 
8 namespace openmsx {
9 
10 class MSXMotherBoard;
11 class GlobalCliComm;
12 
13 class MSXCliComm final : public CliComm
14 {
15 public:
16  MSXCliComm(MSXMotherBoard& motherBoard, GlobalCliComm& cliComm);
17 
18  void log(LogLevel level, string_view message) override;
19  void update(UpdateType type, string_view name,
20  string_view value) override;
21 
22 private:
23  MSXMotherBoard& motherBoard;
24  GlobalCliComm& cliComm;
26 };
27 
28 } // namespace openmsx
29 
30 #endif
void update(UpdateType type, string_view name, string_view value) override
Definition: MSXCliComm.cc:18
void log(LogLevel level, string_view message) override
Definition: MSXCliComm.cc:13
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
MSXCliComm(MSXMotherBoard &motherBoard, GlobalCliComm &cliComm)
Definition: MSXCliComm.cc:7
This class implements a (close approximation) of the std::string_view class.
Definition: string_view.hh:16