openMSX
ide
HDImageCLI.hh
Go to the documentation of this file.
1
#ifndef HDIMAGECLI_HH
2
#define HDIMAGECLI_HH
3
4
#include "
CLIOption.hh
"
5
6
namespace
openmsx
{
7
8
class
CommandLineParser;
9
10
class
HDImageCLI
final :
public
CLIOption
11
{
12
public
:
13
explicit
HDImageCLI
(
CommandLineParser
& parser);
14
void
parseOption
(
const
std::string& option,
15
std::span<std::string>& cmdLine)
override
;
16
void
parseDone
()
override
;
17
[[nodiscard]] std::string_view
optionHelp
()
const override
;
18
19
[[nodiscard]]
static
std::string
getImageForId
(
int
id
);
20
21
private
:
22
CommandLineParser
& parser;
23
};
24
25
}
// namespace openmsx
26
27
#endif
CLIOption.hh
openmsx::CLIOption
Definition
CLIOption.hh:11
openmsx::CommandLineParser
Definition
CommandLineParser.hh:35
openmsx::HDImageCLI
Definition
HDImageCLI.hh:11
openmsx::HDImageCLI::parseDone
void parseDone() override
Definition
HDImageCLI.cc:48
openmsx::HDImageCLI::optionHelp
std::string_view optionHelp() const override
Definition
HDImageCLI.cc:58
openmsx::HDImageCLI::parseOption
void parseOption(const std::string &option, std::span< std::string > &cmdLine) override
Definition
HDImageCLI.cc:28
openmsx::HDImageCLI::getImageForId
static std::string getImageForId(int id)
Definition
HDImageCLI.cc:35
openmsx
This file implemented 3 utility functions:
Definition
Autofire.cc:11
Generated on Sun Dec 1 2024 22:13:42 for openMSX by
1.9.8