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  [[nodiscard]] std::string_view optionHelp() const override;
17 
18 private:
19  CommandLineParser& parser;
20 };
21 
22 } // namespace openmsx
23 
24 #endif
std::string_view optionHelp() const override
Definition: CDImageCLI.cc:26
void parseOption(const std::string &option, span< std::string > &cmdLine) override
Definition: CDImageCLI.cc:16
CDImageCLI(CommandLineParser &parser)
Definition: CDImageCLI.cc:9
Definition: span.hh:126
This file implemented 3 utility functions:
Definition: Autofire.cc:9