diff options
author | Stijn Buys <ingar@osirion.org> | 2011-07-09 14:11:44 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2011-07-09 14:11:44 +0000 |
commit | e942db1c8d87b7db286545d72c604e879f7aeab0 (patch) | |
tree | 4b07ef3422ee265156e020707c3bc96ecd9ed1e0 /src/core/netclient.h | |
parent | f39aec30f0e5c6f466681ed34bffd41150976ab9 (diff) |
Cleanup of the messaging interface.
Diffstat (limited to 'src/core/netclient.h')
-rw-r--r-- | src/core/netclient.h | 24 |
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; |