summaryrefslogtreecommitdiff
path: root/src/net/ea
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/ea
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/ea')
-rw-r--r--src/net/ea/gamehandler.cpp3
-rw-r--r--src/net/ea/gamehandler.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/net/ea/gamehandler.cpp b/src/net/ea/gamehandler.cpp
index 04c13572f..a202cbc86 100644
--- a/src/net/ea/gamehandler.cpp
+++ b/src/net/ea/gamehandler.cpp
@@ -46,7 +46,8 @@ GameHandler::GameHandler()
listen(Mana::CHANNEL_GAME);
}
-void GameHandler::event(Mana::Channels channel, const Mana::Event &event)
+void GameHandler::processEvent(Mana::Channels channel,
+ const Mana::Event &event)
{
if (channel == Mana::CHANNEL_GAME)
{
diff --git a/src/net/ea/gamehandler.h b/src/net/ea/gamehandler.h
index abfaaa6b4..6d8b88bd4 100644
--- a/src/net/ea/gamehandler.h
+++ b/src/net/ea/gamehandler.h
@@ -43,7 +43,8 @@ class GameHandler : public Net::GameHandler, public Mana::Listener
public:
GameHandler();
- virtual void event(Mana::Channels channel, const Mana::Event &event);
+ virtual void processEvent(Mana::Channels channel,
+ const Mana::Event &event);
virtual void who();