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/manaserv | |
parent | 4484b433abc8f07bcf7d4d22fd946e00b66b078d (diff) | |
download | manaplus-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/manaserv')
-rw-r--r-- | src/net/manaserv/generalhandler.cpp | 4 | ||||
-rw-r--r-- | src/net/manaserv/generalhandler.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/net/manaserv/generalhandler.cpp b/src/net/manaserv/generalhandler.cpp index 7c95033a8..9e32f139d 100644 --- a/src/net/manaserv/generalhandler.cpp +++ b/src/net/manaserv/generalhandler.cpp @@ -176,8 +176,8 @@ void GeneralHandler::clearHandlers() clearNetworkHandlers(); } -void GeneralHandler::event(Mana::Channels channel, - const Mana::Event &event) +void GeneralHandler::processEvent(Mana::Channels channel, + const Mana::Event &event) { if (channel == Mana::CHANNEL_CLIENT) { diff --git a/src/net/manaserv/generalhandler.h b/src/net/manaserv/generalhandler.h index 90587eeb3..ccdddbbe6 100644 --- a/src/net/manaserv/generalhandler.h +++ b/src/net/manaserv/generalhandler.h @@ -56,7 +56,7 @@ class GeneralHandler : public Net::GeneralHandler, public Mana::Listener void clearHandlers(); - void event(Mana::Channels channel, const Mana::Event &event); + void processEvent(Mana::Channels channel, const Mana::Event &event); protected: MessageHandlerPtr mBeingHandler; |