openMSX
CDImageCLI.hh
Go to the documentation of this file.
1 #ifndef CDIMAGECLI_HH
2 #define CDIMAGECLI_HH
3 
4 #include "CLIOption.hh"
5 
6 namespace openmsx {
7 
8 class CommandLineParser;
9 
10 class CDImageCLI final : public CLIOption
11 {
12 public:
13  explicit CDImageCLI(CommandLineParser& parser);
14  void parseOption(const std::string& option,
15  span<std::string>& cmdLine) override;
16  std::string_view optionHelp() const override;
17 
18 private:
19  CommandLineParser& parser;
20 };
21 
22 } // namespace openmsx
23 
24 #endif
openmsx::CLIOption
Definition: CLIOption.hh:9
openmsx::CDImageCLI::CDImageCLI
CDImageCLI(CommandLineParser &parser)
Definition: CDImageCLI.cc:11
span
Definition: span.hh:34
openmsx::CDImageCLI::parseOption
void parseOption(const std::string &option, span< std::string > &cmdLine) override
Definition: CDImageCLI.cc:18
openmsx::CDImageCLI
Definition: CDImageCLI.hh:10
openmsx::CommandLineParser
Definition: CommandLineParser.hh:32
CLIOption.hh
openmsx::CDImageCLI::optionHelp
std::string_view optionHelp() const override
Definition: CDImageCLI.cc:28
openmsx
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5