openMSX
ReplayCLI.cc
Go to the documentation of this file.
1 #include "ReplayCLI.hh"
3 #include "TclObject.hh"
4 
5 using std::string;
6 
7 namespace openmsx {
8 
10  : parser(parser_)
11 {
12  parser.registerOption("-replay", *this);
13  parser.registerFileType("omr", *this);
14 }
15 
17 {
19 }
20 
22 {
23  return "Load replay and start replaying it in view only mode";
24 }
25 
27  span<string>& /*cmdLine*/)
28 {
29  TclObject command = makeTclList("reverse", "loadreplay", "-viewonly", filename);
31 }
32 
34 {
35  return "openMSX replay";
36 }
37 
38 } // namespace openmsx
bool getEnum() const noexcept
Definition: EnumSetting.hh:96