openMSX
events
MessageCommand.hh
Go to the documentation of this file.
1
#ifndef MESSAGECOMMAND_HH
2
#define MESSAGECOMMAND_HH
3
4
#include "
Command.hh
"
5
6
namespace
openmsx
{
7
8
class
CommandController;
9
10
class
MessageCommand
final :
public
Command
11
{
12
public
:
13
explicit
MessageCommand
(
CommandController
& controller);
14
15
void
execute
(std::span<const TclObject> tokens,
TclObject
& result)
override
;
16
[[nodiscard]] std::string
help
(std::span<const TclObject> tokens)
const override
;
17
void
tabCompletion
(std::vector<std::string>& tokens)
const override
;
18
};
19
20
}
// namespace openmsx
21
22
#endif
Command.hh
openmsx::CommandController
Definition
CommandController.hh:19
openmsx::Command
Definition
Command.hh:44
openmsx::MessageCommand
Definition
MessageCommand.hh:11
openmsx::MessageCommand::tabCompletion
void tabCompletion(std::vector< std::string > &tokens) const override
Attempt tab completion for this command.
Definition
MessageCommand.cc:49
openmsx::MessageCommand::execute
void execute(std::span< const TclObject > tokens, TclObject &result) override
Execute this command.
Definition
MessageCommand.cc:25
openmsx::MessageCommand::help
std::string help(std::span< const TclObject > tokens) const override
Print help for this command.
Definition
MessageCommand.cc:40
openmsx::TclObject
Definition
TclObject.hh:29
openmsx
This file implemented 3 utility functions:
Definition
Autofire.cc:11
Generated on Sat Dec 21 2024 14:13:51 for openMSX by
1.9.8