openMSX
CliExtension.hh
Go to the documentation of this file.
1 #ifndef CLIEXTENSION_HH
2 #define CLIEXTENSION_HH
3 
4 #include "CLIOption.hh"
5 
6 namespace openmsx {
7 
8 class CommandLineParser;
9 
10 class CliExtension final : public CLIOption
11 {
12 public:
13  explicit CliExtension(CommandLineParser& cmdLineParser);
14 
15  void parseOption(const std::string& option,
16  span<std::string>& cmdLine) override;
17  [[nodiscard]] std::string_view optionHelp() const override;
18 
19 private:
20  CommandLineParser& cmdLineParser;
21 };
22 
23 } // namespace openmsx
24 
25 #endif
void parseOption(const std::string &option, span< std::string > &cmdLine) override
Definition: CliExtension.cc:19
CliExtension(CommandLineParser &cmdLineParser)
Definition: CliExtension.cc:9
std::string_view optionHelp() const override
Definition: CliExtension.cc:37
Definition: span.hh:126
This file implemented 3 utility functions:
Definition: Autofire.cc:9