| e8555c89 Andy McCall |
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 |
} |
| 24 |
|
| 25 |
#endif |