summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-22 01:44:36 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-22 01:44:36 +0300
commit2925b20acb9f70d032cd5981687642a770778c53 (patch)
treee9dd3bd137dd359b8a0845487520ac28f5e3bdb7 /src/net
parentab0b6df9f69a736f79d2233508d8aa88b8e11800 (diff)
downloadmanaplus-2925b20acb9f70d032cd5981687642a770778c53.tar.gz
manaplus-2925b20acb9f70d032cd5981687642a770778c53.tar.bz2
manaplus-2925b20acb9f70d032cd5981687642a770778c53.tar.xz
manaplus-2925b20acb9f70d032cd5981687642a770778c53.zip
Rename object event to depricatedevent because current implimentation very
bad and must be replaced with better implimentation.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/buysellhandler.cpp2
-rw-r--r--src/net/ea/gamehandler.cpp4
-rw-r--r--src/net/ea/gamehandler.h2
-rw-r--r--src/net/ea/guildhandler.cpp2
-rw-r--r--src/net/ea/tradehandler.cpp2
-rw-r--r--src/net/manaserv/generalhandler.cpp2
-rw-r--r--src/net/manaserv/generalhandler.h2
-rw-r--r--src/net/manaserv/guildhandler.cpp2
-rw-r--r--src/net/manaserv/partyhandler.cpp2
-rw-r--r--src/net/manaserv/tradehandler.cpp2
-rw-r--r--src/net/tmwa/adminhandler.cpp2
-rw-r--r--src/net/tmwa/buysellhandler.cpp2
-rw-r--r--src/net/tmwa/chathandler.cpp2
-rw-r--r--src/net/tmwa/gamehandler.cpp2
-rw-r--r--src/net/tmwa/generalhandler.cpp2
-rw-r--r--src/net/tmwa/generalhandler.h2
16 files changed, 17 insertions, 17 deletions
diff --git a/src/net/ea/buysellhandler.cpp b/src/net/ea/buysellhandler.cpp
index 73d4090b7..5208f34fc 100644
--- a/src/net/ea/buysellhandler.cpp
+++ b/src/net/ea/buysellhandler.cpp
@@ -24,7 +24,7 @@
#include "actorspritemanager.h"
#include "configuration.h"
-#include "event.h"
+#include "depricatedevent.h"
#include "inventory.h"
#include "item.h"
#include "localplayer.h"
diff --git a/src/net/ea/gamehandler.cpp b/src/net/ea/gamehandler.cpp
index c8c870dbd..71110984d 100644
--- a/src/net/ea/gamehandler.cpp
+++ b/src/net/ea/gamehandler.cpp
@@ -23,7 +23,7 @@
#include "net/ea/gamehandler.h"
#include "client.h"
-#include "event.h"
+#include "depricatedevent.h"
#include "game.h"
#include "localplayer.h"
#include "logger.h"
@@ -47,7 +47,7 @@ GameHandler::GameHandler()
}
void GameHandler::processEvent(Channels channel,
- const Event &event)
+ const DepricatedEvent &event)
{
if (channel == CHANNEL_GAME)
{
diff --git a/src/net/ea/gamehandler.h b/src/net/ea/gamehandler.h
index 59cb148c4..de7a1623d 100644
--- a/src/net/ea/gamehandler.h
+++ b/src/net/ea/gamehandler.h
@@ -38,7 +38,7 @@ class GameHandler : public Net::GameHandler, public Listener
GameHandler();
virtual void processEvent(Channels channel,
- const Event &event);
+ const DepricatedEvent &event);
virtual void who();
diff --git a/src/net/ea/guildhandler.cpp b/src/net/ea/guildhandler.cpp
index 950f26b03..88bf65d67 100644
--- a/src/net/ea/guildhandler.cpp
+++ b/src/net/ea/guildhandler.cpp
@@ -22,8 +22,8 @@
#include "net/ea/guildhandler.h"
#include "actorspritemanager.h"
+#include "depricatedevent.h"
#include "guild.h"
-#include "event.h"
#include "localplayer.h"
#include "logger.h"
diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp
index 0ba3925a8..80104ea67 100644
--- a/src/net/ea/tradehandler.cpp
+++ b/src/net/ea/tradehandler.cpp
@@ -22,7 +22,7 @@
#include "net/ea/tradehandler.h"
-#include "event.h"
+#include "depricatedevent.h"
#include "inventory.h"
#include "item.h"
#include "logger.h"
diff --git a/src/net/manaserv/generalhandler.cpp b/src/net/manaserv/generalhandler.cpp
index d95c98d23..241377956 100644
--- a/src/net/manaserv/generalhandler.cpp
+++ b/src/net/manaserv/generalhandler.cpp
@@ -177,7 +177,7 @@ void GeneralHandler::clearHandlers()
}
void GeneralHandler::processEvent(Channels channel,
- const Event &event)
+ const DepricatedEvent &event)
{
if (channel == CHANNEL_CLIENT)
{
diff --git a/src/net/manaserv/generalhandler.h b/src/net/manaserv/generalhandler.h
index 6ea5c7845..2c5ef9263 100644
--- a/src/net/manaserv/generalhandler.h
+++ b/src/net/manaserv/generalhandler.h
@@ -50,7 +50,7 @@ class GeneralHandler : public Net::GeneralHandler, public Listener
void clearHandlers();
- void processEvent(Channels channel, const Event &event);
+ void processEvent(Channels channel, const DepricatedEvent &event);
protected:
MessageHandlerPtr mBeingHandler;
diff --git a/src/net/manaserv/guildhandler.cpp b/src/net/manaserv/guildhandler.cpp
index aa82d6dcd..be8a9609a 100644
--- a/src/net/manaserv/guildhandler.cpp
+++ b/src/net/manaserv/guildhandler.cpp
@@ -22,7 +22,7 @@
#include "net/manaserv/guildhandler.h"
-#include "event.h"
+#include "depricatedevent.h"
#include "guild.h"
#include "logger.h"
#include "localplayer.h"
diff --git a/src/net/manaserv/partyhandler.cpp b/src/net/manaserv/partyhandler.cpp
index 60dcaaaff..34fb2e954 100644
--- a/src/net/manaserv/partyhandler.cpp
+++ b/src/net/manaserv/partyhandler.cpp
@@ -22,7 +22,7 @@
#include "net/manaserv/partyhandler.h"
-#include "event.h"
+#include "depricatedevent.h"
#include "logger.h"
#include "localplayer.h"
diff --git a/src/net/manaserv/tradehandler.cpp b/src/net/manaserv/tradehandler.cpp
index e827c2cec..72dbf9a9d 100644
--- a/src/net/manaserv/tradehandler.cpp
+++ b/src/net/manaserv/tradehandler.cpp
@@ -23,7 +23,7 @@
#include "net/manaserv/tradehandler.h"
#include "actorspritemanager.h"
-#include "event.h"
+#include "depricatedevent.h"
#include "item.h"
#include "localplayer.h"
#include "playerinfo.h"
diff --git a/src/net/tmwa/adminhandler.cpp b/src/net/tmwa/adminhandler.cpp
index 65f4d6f2c..acf869f25 100644
--- a/src/net/tmwa/adminhandler.cpp
+++ b/src/net/tmwa/adminhandler.cpp
@@ -26,7 +26,7 @@
#include "actorspritemanager.h"
#include "being.h"
-#include "event.h"
+#include "depricatedevent.h"
#include "game.h"
#include "logger.h"
#include "playerrelations.h"
diff --git a/src/net/tmwa/buysellhandler.cpp b/src/net/tmwa/buysellhandler.cpp
index 629aa54f6..c3e489350 100644
--- a/src/net/tmwa/buysellhandler.cpp
+++ b/src/net/tmwa/buysellhandler.cpp
@@ -24,7 +24,7 @@
#include "actorspritemanager.h"
#include "configuration.h"
-#include "event.h"
+#include "depricatedevent.h"
#include "inventory.h"
#include "item.h"
#include "localplayer.h"
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp
index 368421285..7830d3a81 100644
--- a/src/net/tmwa/chathandler.cpp
+++ b/src/net/tmwa/chathandler.cpp
@@ -25,7 +25,7 @@
#include "actorspritemanager.h"
#include "being.h"
#include "configuration.h"
-#include "event.h"
+#include "depricatedevent.h"
#include "game.h"
#include "localplayer.h"
#include "playerrelations.h"
diff --git a/src/net/tmwa/gamehandler.cpp b/src/net/tmwa/gamehandler.cpp
index 2496898d1..12bfe24cf 100644
--- a/src/net/tmwa/gamehandler.cpp
+++ b/src/net/tmwa/gamehandler.cpp
@@ -23,7 +23,7 @@
#include "net/tmwa/gamehandler.h"
#include "client.h"
-#include "event.h"
+#include "depricatedevent.h"
#include "game.h"
#include "localplayer.h"
#include "logger.h"
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp
index 77c91e1dd..8f2f25d6d 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -245,7 +245,7 @@ void GeneralHandler::clearHandlers()
}
void GeneralHandler::processEvent(Channels channel,
- const Event &event)
+ const DepricatedEvent &event)
{
if (channel == CHANNEL_GAME)
{
diff --git a/src/net/tmwa/generalhandler.h b/src/net/tmwa/generalhandler.h
index 73f7a0e1b..f938ddd1d 100644
--- a/src/net/tmwa/generalhandler.h
+++ b/src/net/tmwa/generalhandler.h
@@ -53,7 +53,7 @@ class GeneralHandler : public MessageHandler, public Net::GeneralHandler,
void clearHandlers();
- void processEvent(Channels channel, const Event &event);
+ void processEvent(Channels channel, const DepricatedEvent &event);
void reloadPartially();