summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-20 00:15:42 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-20 00:15:42 +0300
commitf96919885dd0e5ae0de4a8517e76419304ca8d36 (patch)
tree2c39f6da9bd97c45d77c77f1b9ee0505f38be0e6 /src/net/ea
parent1dbf1cf1d87a38a327673b69c184ad662bd12cc4 (diff)
downloadmanaverse-f96919885dd0e5ae0de4a8517e76419304ca8d36.tar.gz
manaverse-f96919885dd0e5ae0de4a8517e76419304ca8d36.tar.bz2
manaverse-f96919885dd0e5ae0de4a8517e76419304ca8d36.tar.xz
manaverse-f96919885dd0e5ae0de4a8517e76419304ca8d36.zip
Fix code style.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/inventoryhandler.cpp1
-rw-r--r--src/net/ea/inventoryhandler.h5
-rw-r--r--src/net/ea/loginhandler.cpp2
-rw-r--r--src/net/ea/loginhandler.h4
4 files changed, 9 insertions, 3 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp
index 44b73928f..2a9d56ae2 100644
--- a/src/net/ea/inventoryhandler.cpp
+++ b/src/net/ea/inventoryhandler.cpp
@@ -33,6 +33,7 @@
#include "net/messagein.h"
#include "net/ea/eaprotocol.h"
+#include "net/ea/equipbackend.h"
#include "utils/delete2.h"
diff --git a/src/net/ea/inventoryhandler.h b/src/net/ea/inventoryhandler.h
index 6050baaff..fa2f2d0b2 100644
--- a/src/net/ea/inventoryhandler.h
+++ b/src/net/ea/inventoryhandler.h
@@ -25,9 +25,10 @@
#include "localconsts.h"
+#include "enums/simpletypes/beingid.h"
+
#include "net/inventoryhandler.h"
-#include "net/ea/equipbackend.h"
#include "net/ea/inventoryitem.h"
#include <queue>
@@ -40,6 +41,8 @@ namespace Net
namespace Ea
{
+class EquipBackend;
+
typedef std::vector<InventoryItem> InventoryItems;
typedef std::queue<BeingId> PickupQueue;
diff --git a/src/net/ea/loginhandler.cpp b/src/net/ea/loginhandler.cpp
index 396eb1480..0ad5a91af 100644
--- a/src/net/ea/loginhandler.cpp
+++ b/src/net/ea/loginhandler.cpp
@@ -37,6 +37,8 @@
#include "net/logindata.h"
#include "net/messagein.h"
+#include "net/ea/token.h"
+
#include "debug.h"
namespace Ea
diff --git a/src/net/ea/loginhandler.h b/src/net/ea/loginhandler.h
index 1dbf97b1c..9bb41ec18 100644
--- a/src/net/ea/loginhandler.h
+++ b/src/net/ea/loginhandler.h
@@ -27,10 +27,10 @@
#include "net/registrationoptions.h"
-#include "net/ea/token.h"
-
class LoginData;
+struct Token;
+
namespace Net
{
class MessageIn;