summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-19 01:18:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-20 00:49:07 +0300
commit26f9aad24bc50d4e9fd161d185df049c9e7a62cf (patch)
treed8fd87aef6395b5a4704e9570fcbcddcc8ccca83 /src/net/tmwa
parent50b5afdb7e68cdec8f77020b578dc3f6874933bb (diff)
downloadmanaverse-26f9aad24bc50d4e9fd161d185df049c9e7a62cf.tar.gz
manaverse-26f9aad24bc50d4e9fd161d185df049c9e7a62cf.tar.bz2
manaverse-26f9aad24bc50d4e9fd161d185df049c9e7a62cf.tar.xz
manaverse-26f9aad24bc50d4e9fd161d185df049c9e7a62cf.zip
improve includes.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/chathandler.cpp3
-rw-r--r--src/net/tmwa/chathandler.h2
-rw-r--r--src/net/tmwa/generalhandler.cpp1
-rw-r--r--src/net/tmwa/network.cpp1
-rw-r--r--src/net/tmwa/network.h3
-rw-r--r--src/net/tmwa/partyhandler.cpp1
-rw-r--r--src/net/tmwa/pethandler.cpp3
7 files changed, 7 insertions, 7 deletions
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp
index af236f00b..d00f12dd3 100644
--- a/src/net/tmwa/chathandler.cpp
+++ b/src/net/tmwa/chathandler.cpp
@@ -24,8 +24,7 @@
#include "being/localplayer.h"
-#include "gui/widgets/tabs/chattab.h"
-
+#include "net/tmwa/messageout.h"
#include "net/tmwa/protocol.h"
#include <string>
diff --git a/src/net/tmwa/chathandler.h b/src/net/tmwa/chathandler.h
index a7226c52c..c4f51fec7 100644
--- a/src/net/tmwa/chathandler.h
+++ b/src/net/tmwa/chathandler.h
@@ -26,10 +26,10 @@
#include "net/ea/chathandler.h"
#include "net/tmwa/messagehandler.h"
-#include "net/tmwa/messageout.h"
namespace TmwAthena
{
+class MessageOut;
class ChatHandler final : public MessageHandler, public Ea::ChatHandler
{
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp
index 683eb0711..46d1d490f 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -33,6 +33,7 @@
#include "net/ea/guildhandler.h"
+#include "net/ea/gui/guildtab.h"
#include "net/ea/gui/partytab.h"
#include "net/tmwa/adminhandler.h"
diff --git a/src/net/tmwa/network.cpp b/src/net/tmwa/network.cpp
index c91387898..cc94b6161 100644
--- a/src/net/tmwa/network.cpp
+++ b/src/net/tmwa/network.cpp
@@ -24,6 +24,7 @@
#include "logger.h"
+#include "net/tmwa/messagehandler.h"
#include "net/tmwa/messagein.h"
#include "net/tmwa/protocol.h"
diff --git a/src/net/tmwa/network.h b/src/net/tmwa/network.h
index 6d05d0e48..bf9381227 100644
--- a/src/net/tmwa/network.h
+++ b/src/net/tmwa/network.h
@@ -25,8 +25,6 @@
#include "net/ea/network.h"
-#include "net/tmwa/messagehandler.h"
-
/**
* Protocol version, reported to the eAthena char and mapserver who can adjust
* the protocol accordingly.
@@ -36,6 +34,7 @@
namespace TmwAthena
{
+class MessageHandler;
class Network final : public Ea::Network
{
diff --git a/src/net/tmwa/partyhandler.cpp b/src/net/tmwa/partyhandler.cpp
index 78d56f669..ba18a9efa 100644
--- a/src/net/tmwa/partyhandler.cpp
+++ b/src/net/tmwa/partyhandler.cpp
@@ -24,6 +24,7 @@
#include "actormanager.h"
#include "notifications.h"
#include "notifymanager.h"
+#include "party.h"
#include "being/localplayer.h"
diff --git a/src/net/tmwa/pethandler.cpp b/src/net/tmwa/pethandler.cpp
index 6b9e5adb7..3293b7edd 100644
--- a/src/net/tmwa/pethandler.cpp
+++ b/src/net/tmwa/pethandler.cpp
@@ -24,8 +24,7 @@
#include "net/net.h"
-#include "net/tmwa/chathandler.h"
-#include "net/tmwa/protocol.h"
+#include "net/chathandler.h"
#include "debug.h"