summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-16 23:58:40 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-17 14:02:30 +0300
commit3f7f55d24f8adbfaa6e534734e955fb3c37792ff (patch)
tree30c90bdab5d99a6e0e75dc5ee593f641bd1ad88f /src/net/ea
parentdeec925bcd6ef5ea611082263dc0a7e4904345d2 (diff)
downloadmv-3f7f55d24f8adbfaa6e534734e955fb3c37792ff.tar.gz
mv-3f7f55d24f8adbfaa6e534734e955fb3c37792ff.tar.bz2
mv-3f7f55d24f8adbfaa6e534734e955fb3c37792ff.tar.xz
mv-3f7f55d24f8adbfaa6e534734e955fb3c37792ff.zip
Remove useless includes from .h files.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/equipbackend.h2
-rw-r--r--src/net/ea/inventoryhandler.h1
-rw-r--r--src/net/ea/itemhandler.cpp2
-rw-r--r--src/net/ea/itemhandler.h2
-rw-r--r--src/net/ea/loginhandler.cpp1
-rw-r--r--src/net/ea/loginhandler.h2
-rw-r--r--src/net/ea/network.h4
-rw-r--r--src/net/ea/playerhandler.cpp1
-rw-r--r--src/net/ea/tradehandler.cpp1
9 files changed, 5 insertions, 11 deletions
diff --git a/src/net/ea/equipbackend.h b/src/net/ea/equipbackend.h
index 5aa56bf6b..c264724a8 100644
--- a/src/net/ea/equipbackend.h
+++ b/src/net/ea/equipbackend.h
@@ -23,8 +23,6 @@
#ifndef NET_EA_EQUIPBACKEND_H
#define NET_EA_EQUIPBACKEND_H
-#include "equipment.h"
-#include "inventory.h"
#include "item.h"
#include "being/playerinfo.h"
diff --git a/src/net/ea/inventoryhandler.h b/src/net/ea/inventoryhandler.h
index 77cf40a56..26d74d56a 100644
--- a/src/net/ea/inventoryhandler.h
+++ b/src/net/ea/inventoryhandler.h
@@ -30,7 +30,6 @@
#include "net/ea/equipbackend.h"
#include "net/ea/inventoryitem.h"
-#include <vector>
#include <queue>
namespace Net
diff --git a/src/net/ea/itemhandler.cpp b/src/net/ea/itemhandler.cpp
index f09dc57d5..a4c1a164b 100644
--- a/src/net/ea/itemhandler.cpp
+++ b/src/net/ea/itemhandler.cpp
@@ -24,6 +24,8 @@
#include "actormanager.h"
+#include "net/messagein.h"
+
#include "debug.h"
namespace Ea
diff --git a/src/net/ea/itemhandler.h b/src/net/ea/itemhandler.h
index 37cd097ff..a67f701a4 100644
--- a/src/net/ea/itemhandler.h
+++ b/src/net/ea/itemhandler.h
@@ -23,8 +23,6 @@
#ifndef NET_EA_ITEMHANDLER_H
#define NET_EA_ITEMHANDLER_H
-#include "net/messagein.h"
-
#include "localconsts.h"
namespace Net
diff --git a/src/net/ea/loginhandler.cpp b/src/net/ea/loginhandler.cpp
index c182d7065..8b8077cde 100644
--- a/src/net/ea/loginhandler.cpp
+++ b/src/net/ea/loginhandler.cpp
@@ -34,6 +34,7 @@
#include "utils/gettext.h"
#include "utils/paths.h"
+#include "net/logindata.h"
#include "net/messagein.h"
#include "debug.h"
diff --git a/src/net/ea/loginhandler.h b/src/net/ea/loginhandler.h
index 111aa5965..b2d57574d 100644
--- a/src/net/ea/loginhandler.h
+++ b/src/net/ea/loginhandler.h
@@ -29,8 +29,6 @@
#include "net/ea/token.h"
-#include <string>
-
class LoginData;
namespace Net
diff --git a/src/net/ea/network.h b/src/net/ea/network.h
index 95bb6c456..52693ef30 100644
--- a/src/net/ea/network.h
+++ b/src/net/ea/network.h
@@ -26,10 +26,6 @@
#include "net/serverinfo.h"
#include "net/sdltcpnet.h"
-#include <SDL_thread.h>
-
-#include <string>
-
namespace Ea
{
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index a2833eee3..eb6f8d0af 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -31,6 +31,7 @@
#include "being/beingflag.h"
#include "being/localplayer.h"
+#include "being/playerinfo.h"
#include "enums/being/attributes.h"
diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp
index 683654d61..5bdf42775 100644
--- a/src/net/ea/tradehandler.cpp
+++ b/src/net/ea/tradehandler.cpp
@@ -31,6 +31,7 @@
#include "net/messagein.h"
#include "utils/gettext.h"
+#include "utils/stringutils.h"
#include "resources/notifytypes.h"