diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-09 19:59:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-09 19:59:09 +0300 |
commit | 3a875a0026936d4bcb3bd1c2b6e8ac547cd5e27e (patch) | |
tree | 8e3e4b0a68f7c2592caae03f16e17cf240400116 /src/net/tmwa | |
parent | 4484b433abc8f07bcf7d4d22fd946e00b66b078d (diff) | |
download | plus-3a875a0026936d4bcb3bd1c2b6e8ac547cd5e27e.tar.gz plus-3a875a0026936d4bcb3bd1c2b6e8ac547cd5e27e.tar.bz2 plus-3a875a0026936d4bcb3bd1c2b6e8ac547cd5e27e.tar.xz plus-3a875a0026936d4bcb3bd1c2b6e8ac547cd5e27e.zip |
Rename in listner class method from event to processEvent.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/generalhandler.cpp | 4 | ||||
-rw-r--r-- | src/net/tmwa/generalhandler.h | 2 |
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(); |