summaryrefslogtreecommitdiff
path: root/src/net/tmwa/chathandler.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-05-09 18:21:14 -0600
committerJared Adams <jaxad0127@gmail.com>2010-06-29 15:48:52 -0600
commitf1cab9c5ab1d36586ae1e0d1dae3f3d1483522b5 (patch)
treea0146a49c90bd15bb65e8bbae94883b189037a40 /src/net/tmwa/chathandler.h
parenta2bb244ea72fefdb60d8ef5b037dfbc5b6ac842d (diff)
downloadmana-client-f1cab9c5ab1d36586ae1e0d1dae3f3d1483522b5.tar.gz
mana-client-f1cab9c5ab1d36586ae1e0d1dae3f3d1483522b5.tar.bz2
mana-client-f1cab9c5ab1d36586ae1e0d1dae3f3d1483522b5.tar.xz
mana-client-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.h6
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