summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-15 22:03:17 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-16 13:50:43 +0300
commit23034a47937c109590eb60e4ee0efa32a8c9e45e (patch)
tree844c716da20752dcbb0aead649011f54d8062635 /src/net
parent4638f969d4206ba8dd857eb6d2758106cc5268df (diff)
downloadmanaplus-23034a47937c109590eb60e4ee0efa32a8c9e45e.tar.gz
manaplus-23034a47937c109590eb60e4ee0efa32a8c9e45e.tar.bz2
manaplus-23034a47937c109590eb60e4ee0efa32a8c9e45e.tar.xz
manaplus-23034a47937c109590eb60e4ee0efa32a8c9e45e.zip
Remove useless includes from cpp files
Diffstat (limited to 'src/net')
-rw-r--r--src/net/download.cpp1
-rw-r--r--src/net/ea/adminhandler.cpp2
-rw-r--r--src/net/ea/chathandler.cpp6
-rw-r--r--src/net/ea/loginhandler.cpp1
-rw-r--r--src/net/ea/network.cpp2
-rw-r--r--src/net/ea/tradehandler.cpp2
-rw-r--r--src/net/eathena/adminhandler.cpp2
-rw-r--r--src/net/eathena/charserverhandler.cpp2
-rw-r--r--src/net/eathena/loginhandler.cpp1
-rw-r--r--src/net/eathena/messageout.cpp3
-rw-r--r--src/net/eathena/npchandler.cpp1
-rw-r--r--src/net/eathena/tradehandler.cpp2
-rw-r--r--src/net/ipc.cpp2
-rw-r--r--src/net/messageout.cpp3
-rw-r--r--src/net/tmwa/adminhandler.cpp2
-rw-r--r--src/net/tmwa/charserverhandler.cpp1
-rw-r--r--src/net/tmwa/generalhandler.cpp2
-rw-r--r--src/net/tmwa/messageout.cpp3
-rw-r--r--src/net/tmwa/tradehandler.cpp2
19 files changed, 0 insertions, 40 deletions
diff --git a/src/net/download.cpp b/src/net/download.cpp
index 8df51c48e..9e86d5ea1 100644
--- a/src/net/download.cpp
+++ b/src/net/download.cpp
@@ -23,7 +23,6 @@
#include "configuration.h"
#include "logger.h"
-#include "main.h"
#include "settings.h"
#include "utils/files.h"
diff --git a/src/net/ea/adminhandler.cpp b/src/net/ea/adminhandler.cpp
index 3db91296a..6158d5d42 100644
--- a/src/net/ea/adminhandler.cpp
+++ b/src/net/ea/adminhandler.cpp
@@ -34,8 +34,6 @@
#include "resources/notifytypes.h"
-#include <string>
-
#include "debug.h"
namespace Ea
diff --git a/src/net/ea/chathandler.cpp b/src/net/ea/chathandler.cpp
index 68a9fdbdf..95d05bf1e 100644
--- a/src/net/ea/chathandler.cpp
+++ b/src/net/ea/chathandler.cpp
@@ -27,23 +27,17 @@
#include "notifymanager.h"
#include "being/being.h"
-#include "being/playerrelations.h"
#include "gui/windows/chatwindow.h"
#include "gui/widgets/tabs/chat/gmtab.h"
#include "net/messagein.h"
-#include "net/serverfeatures.h"
-
-#include "net/ea/eaprotocol.h"
#include "resources/notifytypes.h"
#include "utils/gettext.h"
-#include <string>
-
#include "debug.h"
namespace Ea
diff --git a/src/net/ea/loginhandler.cpp b/src/net/ea/loginhandler.cpp
index 670daf1a0..c182d7065 100644
--- a/src/net/ea/loginhandler.cpp
+++ b/src/net/ea/loginhandler.cpp
@@ -24,7 +24,6 @@
#include "client.h"
#include "configuration.h"
-#include "logger.h"
#include "settings.h"
#include "being/being.h"
diff --git a/src/net/ea/network.cpp b/src/net/ea/network.cpp
index a214cc4e5..fd39e218b 100644
--- a/src/net/ea/network.cpp
+++ b/src/net/ea/network.cpp
@@ -28,8 +28,6 @@
#include "utils/gettext.h"
#include "utils/sdlhelper.h"
-#include <sstream>
-
#include "debug.h"
extern unsigned int mLastHost;
diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp
index 9bcbf8548..683654d61 100644
--- a/src/net/ea/tradehandler.cpp
+++ b/src/net/ea/tradehandler.cpp
@@ -25,9 +25,7 @@
#include "notifymanager.h"
#include "being/playerinfo.h"
-#include "being/playerrelations.h"
-#include "gui/windows/confirmdialog.h"
#include "gui/windows/tradewindow.h"
#include "net/messagein.h"
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp
index 1eb0b6eac..1e394d300 100644
--- a/src/net/eathena/adminhandler.cpp
+++ b/src/net/eathena/adminhandler.cpp
@@ -27,8 +27,6 @@
#include "net/eathena/messageout.h"
#include "net/eathena/protocol.h"
-#include <string>
-
#include "debug.h"
extern Net::AdminHandler *adminHandler;
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp
index 5096fb3aa..b4d3a6382 100644
--- a/src/net/eathena/charserverhandler.cpp
+++ b/src/net/eathena/charserverhandler.cpp
@@ -24,7 +24,6 @@
#include "client.h"
#include "configuration.h"
-#include "logger.h"
#include "settings.h"
#include "enums/being/attributes.h"
@@ -36,7 +35,6 @@
#include "gui/windows/okdialog.h"
#include "net/character.h"
-#include "net/logindata.h"
#include "net/serverfeatures.h"
#include "net/eathena/gamehandler.h"
diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp
index 8a02635b0..8c0b80438 100644
--- a/src/net/eathena/loginhandler.cpp
+++ b/src/net/eathena/loginhandler.cpp
@@ -23,7 +23,6 @@
#include "net/eathena/loginhandler.h"
#include "client.h"
-#include "logger.h"
#include "gui/windows/logindialog.h"
diff --git a/src/net/eathena/messageout.cpp b/src/net/eathena/messageout.cpp
index adf9d17f7..084db9418 100644
--- a/src/net/eathena/messageout.cpp
+++ b/src/net/eathena/messageout.cpp
@@ -30,9 +30,6 @@
#include <SDL_endian.h>
-#include <cstring>
-#include <string>
-
#include "debug.h"
namespace EAthena
diff --git a/src/net/eathena/npchandler.cpp b/src/net/eathena/npchandler.cpp
index 790d498c6..b7bd51844 100644
--- a/src/net/eathena/npchandler.cpp
+++ b/src/net/eathena/npchandler.cpp
@@ -23,7 +23,6 @@
#include "net/eathena/npchandler.h"
#include "actormanager.h"
-#include "logger.h"
#include "being/localplayer.h"
diff --git a/src/net/eathena/tradehandler.cpp b/src/net/eathena/tradehandler.cpp
index 5f9a60e47..65951d1e8 100644
--- a/src/net/eathena/tradehandler.cpp
+++ b/src/net/eathena/tradehandler.cpp
@@ -28,8 +28,6 @@
#include "being/playerinfo.h"
-#include "enums/simpletypes.h"
-
#include "gui/windows/tradewindow.h"
#include "net/eathena/messageout.h"
diff --git a/src/net/ipc.cpp b/src/net/ipc.cpp
index c03a8bfaa..f6df452ac 100644
--- a/src/net/ipc.cpp
+++ b/src/net/ipc.cpp
@@ -20,8 +20,6 @@
#include "net/ipc.h"
-#include "logger.h"
-
#include "gui/windows/chatwindow.h"
#include "utils/delete2.h"
diff --git a/src/net/messageout.cpp b/src/net/messageout.cpp
index 8b1792e17..691ef583c 100644
--- a/src/net/messageout.cpp
+++ b/src/net/messageout.cpp
@@ -27,9 +27,6 @@
#include "logger.h"
-#include <cstring>
-#include <string>
-
#include "debug.h"
namespace Net
diff --git a/src/net/tmwa/adminhandler.cpp b/src/net/tmwa/adminhandler.cpp
index 62421b831..216a33cb7 100644
--- a/src/net/tmwa/adminhandler.cpp
+++ b/src/net/tmwa/adminhandler.cpp
@@ -31,8 +31,6 @@
#include "utils/stringutils.h"
-#include <string>
-
#include "debug.h"
extern Net::AdminHandler *adminHandler;
diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp
index 1b77b950d..26b24f07a 100644
--- a/src/net/tmwa/charserverhandler.cpp
+++ b/src/net/tmwa/charserverhandler.cpp
@@ -34,7 +34,6 @@
#include "gui/windows/okdialog.h"
#include "net/character.h"
-#include "net/logindata.h"
#include "net/serverfeatures.h"
#include "net/tmwa/gamehandler.h"
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp
index 867f9e10e..6145b2b79 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -24,11 +24,9 @@
#include "client.h"
#include "configuration.h"
-#include "logger.h"
#include "enums/being/attributes.h"
-#include "gui/windows/inventorywindow.h"
#include "gui/windows/skilldialog.h"
#include "gui/windows/socialwindow.h"
#include "gui/windows/statuswindow.h"
diff --git a/src/net/tmwa/messageout.cpp b/src/net/tmwa/messageout.cpp
index 1cad0657c..66379ffda 100644
--- a/src/net/tmwa/messageout.cpp
+++ b/src/net/tmwa/messageout.cpp
@@ -30,9 +30,6 @@
#include <SDL_endian.h>
-#include <cstring>
-#include <string>
-
#include "debug.h"
namespace TmwAthena
diff --git a/src/net/tmwa/tradehandler.cpp b/src/net/tmwa/tradehandler.cpp
index 2ec2c90d7..574c30bf1 100644
--- a/src/net/tmwa/tradehandler.cpp
+++ b/src/net/tmwa/tradehandler.cpp
@@ -29,8 +29,6 @@
#include "being/playerinfo.h"
#include "being/playerrelations.h"
-#include "enums/simpletypes.h"
-
#include "gui/windows/confirmdialog.h"
#include "gui/windows/tradewindow.h"