openMSX
RomInfoTopic.hh
Go to the documentation of this file.
1 #ifndef ROMINFOTOPIC_HH
2 #define ROMINFOTOPIC_HH
3 
4 #include "InfoTopic.hh"
5 
6 namespace openmsx {
7 
8 class RomInfoTopic final : public InfoTopic
9 {
10 public:
11  explicit RomInfoTopic(InfoCommand& openMSXInfoCommand);
12 
13  void execute(span<const TclObject> tokens,
14  TclObject& result) const override;
15  std::string help(const std::vector<std::string>& tokens) const override;
16  void tabCompletion(std::vector<std::string>& tokens) const override;
17 };
18 
19 } // namespace openmsx
20 
21 #endif
Definition: span.hh:34
void execute(span< const TclObject > tokens, TclObject &result) const override
Show info on this topic.
Definition: RomInfoTopic.cc:16
RomInfoTopic(InfoCommand &openMSXInfoCommand)
Definition: RomInfoTopic.cc:11
void tabCompletion(std::vector< std::string > &tokens) const override
Attempt tab completion for this topic.
Definition: RomInfoTopic.cc:43
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
std::string help(const std::vector< std::string > &tokens) const override
Print help for this topic.
Definition: RomInfoTopic.cc:37