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
std::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
CLIOption.hh
openmsx::CLIOption
Definition
CLIOption.hh:11
openmsx::CliExtension
Definition
CliExtension.hh:11
openmsx::CliExtension::optionHelp
std::string_view optionHelp() const override
Definition
CliExtension.cc:37
openmsx::CliExtension::parseOption
void parseOption(const std::string &option, std::span< std::string > &cmdLine) override
Definition
CliExtension.cc:18
openmsx::CommandLineParser
Definition
CommandLineParser.hh:35
openmsx
This file implemented 3 utility functions:
Definition
Autofire.cc:11
Generated on Sun Sep 8 2024 19:13:38 for openMSX by
1.9.8