summaryrefslogtreecommitdiff
path: root/src/gui/widgets/whispertab.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-16 10:10:50 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-16 10:10:50 -0600
commit736795a624ae5f04b11fa284cb8a4b14579c1766 (patch)
tree6c7c70926959ff23831002a06ea82c17cadc3188 /src/gui/widgets/whispertab.h
parente8dd52d8264cd0eec1f5d32c1f809a164e2d2f59 (diff)
downloadmana-client-736795a624ae5f04b11fa284cb8a4b14579c1766.tar.gz
mana-client-736795a624ae5f04b11fa284cb8a4b14579c1766.tar.bz2
mana-client-736795a624ae5f04b11fa284cb8a4b14579c1766.tar.xz
mana-client-736795a624ae5f04b11fa284cb8a4b14579c1766.zip
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.
Diffstat (limited to 'src/gui/widgets/whispertab.h')
-rw-r--r--src/gui/widgets/whispertab.h4
1 files changed, 4 insertions, 0 deletions
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;