ReplayCLI.hh 611 B

12345678910111213141516171819202122232425262728
  1. #ifndef REPLAYCLI_HH
  2. #define REPLAYCLI_HH
  3. #include "CLIOption.hh"
  4. namespace openmsx {
  5. class CommandLineParser;
  6. class ReplayCLI final : public CLIOption, public CLIFileType
  7. {
  8. public:
  9. explicit ReplayCLI(CommandLineParser& parser);
  10. void parseOption(const std::string& option,
  11. array_ref<std::string>& cmdLine) override;
  12. string_view optionHelp() const override;
  13. void parseFileType(const std::string& filename,
  14. array_ref<std::string>& cmdLine) override;
  15. string_view fileTypeHelp() const override;
  16. private:
  17. CommandLineParser& parser;
  18. };
  19. } // namespace openmsx
  20. #endif