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