| 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 |
} |
| 26 |
|
| 27 |
#endif |