Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2011-07-09 14:11:44 +0000
committerStijn Buys <ingar@osirion.org>2011-07-09 14:11:44 +0000
commite942db1c8d87b7db286545d72c604e879f7aeab0 (patch)
tree4b07ef3422ee265156e020707c3bc96ecd9ed1e0 /src/core/netclient.h
parentf39aec30f0e5c6f466681ed34bffd41150976ab9 (diff)
Cleanup of the messaging interface.
Diffstat (limited to 'src/core/netclient.h')
-rw-r--r--src/core/netclient.h24
1 files changed, 2 insertions, 22 deletions
diff --git a/src/core/netclient.h b/src/core/netclient.h
index cca9529..f52aae6 100644
--- a/src/core/netclient.h
+++ b/src/core/netclient.h
@@ -7,32 +7,12 @@
#ifndef __INCLUDED_CORE_NETCLIENT_H__
#define __INCLUDED_CORE_NETCLIENT_H__
-#include "core/net.h"
-
-#include <unistd.h>
-#include <errno.h>
-
-#ifndef _WIN32
-
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <sys/wait.h>
-
-#include <netinet/in.h>
-#include <arpa/inet.h>
-
-#endif
-
-#include <string>
-#include <deque>
-#include <map>
-
namespace core
{
class NetClient;
}
-#include "core/netplayer.h"
+#include "core/net.h"
namespace core
{
@@ -96,7 +76,7 @@ private:
int client_fd;
bool client_error;
- NetPlayer *client_player;
+ Player *client_player;
std::string messageblock;
std::deque<std::string> recvq;