summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-09 19:59:09 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-09 19:59:09 +0300
commit3a875a0026936d4bcb3bd1c2b6e8ac547cd5e27e (patch)
tree8e3e4b0a68f7c2592caae03f16e17cf240400116 /src/net/tmwa
parent4484b433abc8f07bcf7d4d22fd946e00b66b078d (diff)
downloadmanaplus-3a875a0026936d4bcb3bd1c2b6e8ac547cd5e27e.tar.gz
manaplus-3a875a0026936d4bcb3bd1c2b6e8ac547cd5e27e.tar.bz2
manaplus-3a875a0026936d4bcb3bd1c2b6e8ac547cd5e27e.tar.xz
manaplus-3a875a0026936d4bcb3bd1c2b6e8ac547cd5e27e.zip
Rename in listner class method from event to processEvent.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/generalhandler.cpp4
-rw-r--r--src/net/tmwa/generalhandler.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp
index e1b565399..c6ebc000c 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -240,8 +240,8 @@ void GeneralHandler::clearHandlers()
mNetwork->clearHandlers();
}
-void GeneralHandler::event(Mana::Channels channel,
- const Mana::Event &event)
+void GeneralHandler::processEvent(Mana::Channels channel,
+ const Mana::Event &event)
{
if (channel == Mana::CHANNEL_GAME)
{
diff --git a/src/net/tmwa/generalhandler.h b/src/net/tmwa/generalhandler.h
index 27186fcc8..5e6c9f18f 100644
--- a/src/net/tmwa/generalhandler.h
+++ b/src/net/tmwa/generalhandler.h
@@ -59,7 +59,7 @@ class GeneralHandler : public MessageHandler, public Net::GeneralHandler,
void clearHandlers();
- void event(Mana::Channels channel, const Mana::Event &event);
+ void processEvent(Mana::Channels channel, const Mana::Event &event);
void reloadPartially();