From 736795a624ae5f04b11fa284cb8a4b14579c1766 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Thu, 16 Apr 2009 10:10:50 -0600 Subject: Rehash CommandHandler a bit, it's now fully merged Tabs can now interract with CommandHandler and define their own commands in a seemless way. Most channel-related commands have been moved into ChannelTab, the close command is now in the WhisperTab, and eAthena's party tab now shows all standard commands. --- src/gui/widgets/whispertab.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/widgets/whispertab.h') diff --git a/src/gui/widgets/whispertab.h b/src/gui/widgets/whispertab.h index 739ae159..0d39b6ec 100644 --- a/src/gui/widgets/whispertab.h +++ b/src/gui/widgets/whispertab.h @@ -34,6 +34,10 @@ class WhisperTab : public ChatTab public: const std::string &getNick() const { return mNick; } + void showHelp(); + + bool handleCommand(std::string type, std::string args); + protected: friend class ChatWindow; -- cgit v1.2.3-70-g09d2