openMSX
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(span<const TclObject> tokens, TclObject& result) override;
16  [[nodiscard]] std::string help(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.
MessageCommand(CommandController &controller)
std::string help(span< const TclObject > tokens) const override
Print help for this command.
void execute(span< const TclObject > tokens, TclObject &result) override
Execute this command.
Definition: span.hh:126
This file implemented 3 utility functions:
Definition: Autofire.cc:9