diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-16 10:10:50 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-16 10:10:50 -0600 |
commit | 736795a624ae5f04b11fa284cb8a4b14579c1766 (patch) | |
tree | 6c7c70926959ff23831002a06ea82c17cadc3188 /src/net/ea/gui/partytab.h | |
parent | e8dd52d8264cd0eec1f5d32c1f809a164e2d2f59 (diff) | |
download | mana-736795a624ae5f04b11fa284cb8a4b14579c1766.tar.gz mana-736795a624ae5f04b11fa284cb8a4b14579c1766.tar.bz2 mana-736795a624ae5f04b11fa284cb8a4b14579c1766.tar.xz mana-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/net/ea/gui/partytab.h')
-rw-r--r-- | src/net/ea/gui/partytab.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/ea/gui/partytab.h b/src/net/ea/gui/partytab.h index bf9413d0..fac4061b 100644 --- a/src/net/ea/gui/partytab.h +++ b/src/net/ea/gui/partytab.h @@ -33,9 +33,12 @@ class PartyTab : public ChatTab PartyTab(); ~PartyTab(); + void showHelp(); + + bool handleCommand(std::string type, std::string args); + protected: void handleInput(const std::string &msg); - void handleCommand(std::string msg); }; extern PartyTab *partyTab; |