openMSX
HDImageCLI.hh
Go to the documentation of this file.
1#ifndef HDIMAGECLI_HH
2#define HDIMAGECLI_HH
3
4#include "CLIOption.hh"
5
6namespace openmsx {
7
8class CommandLineParser;
9
10class HDImageCLI final : public CLIOption
11{
12public:
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
21private:
22 CommandLineParser& parser;
23};
24
25} // namespace openmsx
26
27#endif
void parseDone() override
Definition HDImageCLI.cc:48
std::string_view optionHelp() const override
Definition HDImageCLI.cc:58
void parseOption(const std::string &option, std::span< std::string > &cmdLine) override
Definition HDImageCLI.cc:28
static std::string getImageForId(int id)
Definition HDImageCLI.cc:35
This file implemented 3 utility functions:
Definition Autofire.cc:11