From 5ec69c1f7ce048f16302feaddc76778003bb4d71 Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 30 Mar 2022 21:02:48 +0200 Subject: Cleaned up includes in NetClient --- NetEx/NetClient.h | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'NetEx/NetClient.h') diff --git a/NetEx/NetClient.h b/NetEx/NetClient.h index 0d5755e..5bd7d10 100644 --- a/NetEx/NetClient.h +++ b/NetEx/NetClient.h @@ -3,25 +3,23 @@ Copyright (c) 2011-2012, Starshatter OpenSource Distribution Contributors Copyright (c) 1997-2006, Destroyer Studios LLC. - AUTHOR: John DiCamillo + AUTHOR: John DiCamillo - OVERVIEW - ======== - Stream-oriented network client class + OVERVIEW + ======== + Stream-oriented network client class */ - #ifndef NetClient_h #define NetClient_h -#include +#include + #include "NetAddr.h" -#include "NetGram.h" #include "NetSock.h" -#include "List.h" +#include "Text.h" -// +-------------------------------------------------------------------+ class NetClient { @@ -40,13 +38,13 @@ public: Text SendRecv(Text msg); int GetLastError() const { return err; } - DWORD GetTime() const { return delta; } + std::uint32_t GetTime() const { return delta; } protected: NetAddr addr; NetSock* sock; - DWORD delta; - DWORD time; + std::uint32_t delta; + std::uint32_t time; int err; public: -- cgit v1.1