From 3f7f55d24f8adbfaa6e534734e955fb3c37792ff Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 16 Mar 2015 23:58:40 +0300 Subject: Remove useless includes from .h files. --- src/net/ea/equipbackend.h | 2 -- src/net/ea/inventoryhandler.h | 1 - src/net/ea/itemhandler.cpp | 2 ++ src/net/ea/itemhandler.h | 2 -- src/net/ea/loginhandler.cpp | 1 + src/net/ea/loginhandler.h | 2 -- src/net/ea/network.h | 4 ---- src/net/ea/playerhandler.cpp | 1 + src/net/ea/tradehandler.cpp | 1 + 9 files changed, 5 insertions(+), 11 deletions(-) (limited to 'src/net/ea') 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 #include 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 - 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 - -#include - 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" -- cgit v1.2.3-70-g09d2