CliExtension.hh 462 B

1234567891011121314151617181920212223242526
  1. #ifndef CLIEXTENSION_HH
  2. #define CLIEXTENSION_HH
  3. #include "CLIOption.hh"
  4. namespace openmsx {
  5. class CommandLineParser;
  6. class CliExtension final : public CLIOption
  7. {
  8. public:
  9. explicit CliExtension(CommandLineParser& cmdLineParser);
  10. void parseOption(const std::string& option,
  11. span<std::string>& cmdLine) override;
  12. std::string_view optionHelp() const override;
  13. private:
  14. CommandLineParser& cmdLineParser;
  15. };
  16. } // namespace openmsx
  17. #endif