openMSX
MessageCommand.hh
Go to the documentation of this file.
1#ifndef MESSAGECOMMAND_HH
2#define MESSAGECOMMAND_HH
3
4#include "Command.hh"
5
6namespace openmsx {
7
8class CommandController;
9
10class MessageCommand final : public Command
11{
12public:
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
void tabCompletion(std::vector< std::string > &tokens) const override
Attempt tab completion for this command.
void execute(std::span< const TclObject > tokens, TclObject &result) override
Execute this command.
std::string help(std::span< const TclObject > tokens) const override
Print help for this command.
This file implemented 3 utility functions:
Definition Autofire.cc:11