openMSX
|
#include <CliExtension.hh>
Public Member Functions | |
CliExtension (CommandLineParser &cmdLineParser) | |
void | parseOption (const std::string &option, std::span< std::string > &cmdLine) override |
std::string_view | optionHelp () const override |
Public Member Functions inherited from openmsx::CLIOption | |
CLIOption (const CLIOption &)=delete | |
CLIOption (CLIOption &&)=delete | |
CLIOption & | operator= (const CLIOption &)=delete |
CLIOption & | operator= (CLIOption &&)=delete |
virtual void | parseDone () |
Additional Inherited Members | |
Protected Member Functions inherited from openmsx::CLIOption | |
CLIOption ()=default | |
~CLIOption ()=default | |
Static Protected Member Functions inherited from openmsx::CLIOption | |
static std::string | getArgument (const std::string &option, std::span< std::string > &cmdLine) |
static std::string | peekArgument (const std::span< std::string > &cmdLine) |
Definition at line 10 of file CliExtension.hh.
|
explicit |
Definition at line 10 of file CliExtension.cc.
References openmsx::CommandLineParser::registerOption().
|
overridevirtual |
Implements openmsx::CLIOption.
Definition at line 37 of file CliExtension.cc.
|
overridevirtual |
Implements openmsx::CLIOption.
Definition at line 18 of file CliExtension.cc.
References openmsx::CLIOption::getArgument(), openmsx::CommandLineParser::getMotherBoard(), openmsx::MSXMotherBoard::insertExtension(), and openmsx::MSXMotherBoard::loadExtension().