diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-05-09 18:21:14 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-06-29 15:48:52 -0600 |
commit | f1cab9c5ab1d36586ae1e0d1dae3f3d1483522b5 (patch) | |
tree | a0146a49c90bd15bb65e8bbae94883b189037a40 /src/net/tmwa/chathandler.h | |
parent | a2bb244ea72fefdb60d8ef5b037dfbc5b6ac842d (diff) | |
download | mana-f1cab9c5ab1d36586ae1e0d1dae3f3d1483522b5.tar.gz mana-f1cab9c5ab1d36586ae1e0d1dae3f3d1483522b5.tar.bz2 mana-f1cab9c5ab1d36586ae1e0d1dae3f3d1483522b5.tar.xz mana-f1cab9c5ab1d36586ae1e0d1dae3f3d1483522b5.zip |
Make whisper responses from tmwAthena show up in correct tabs
Reviewed-by: Bertram
Diffstat (limited to 'src/net/tmwa/chathandler.h')
-rw-r--r-- | src/net/tmwa/chathandler.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/tmwa/chathandler.h b/src/net/tmwa/chathandler.h index 3e035f7e..6426a71e 100644 --- a/src/net/tmwa/chathandler.h +++ b/src/net/tmwa/chathandler.h @@ -27,6 +27,8 @@ #include "net/tmwa/messagehandler.h" +#include <queue> + namespace TmwAthena { class ChatHandler : public MessageHandler, public Net::ChatHandler @@ -61,6 +63,10 @@ class ChatHandler : public MessageHandler, public Net::ChatHandler void kickUser(int channelId, const std::string &name); void who(); + + private: + typedef std::queue<std::string> WhisperQueue; + WhisperQueue mSentWhispers; }; } // namespace TmwAthena |