From 83889ba33dad2743eeb2a79102a1117ec9220025 Mon Sep 17 00:00:00 2001 From: LaG1924 Date: Mon, 7 Jun 2021 07:56:57 +0500 Subject: Replaced /external/ with CPMAddPackage --- external/optick/optick_server.h | 42 ----------------------------------------- 1 file changed, 42 deletions(-) delete mode 100644 external/optick/optick_server.h (limited to 'external/optick/optick_server.h') diff --git a/external/optick/optick_server.h b/external/optick/optick_server.h deleted file mode 100644 index b44153e..0000000 --- a/external/optick/optick_server.h +++ /dev/null @@ -1,42 +0,0 @@ -#pragma once -#include "optick.config.h" - -#if USE_OPTICK -#include "optick_message.h" - -#include -#include - -namespace Optick -{ -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -class Socket; -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -class Server -{ - InputDataStream networkStream; - - static const int BIFFER_SIZE = 1024; - char buffer[BIFFER_SIZE]; - - Socket* socket; - - std::recursive_mutex socketLock; - - Server( short port ); - ~Server(); - - bool InitConnection(); - -public: - void Send(DataResponse::Type type, OutputDataStream& stream = OutputDataStream::Empty); - void Update(); - - string GetHostName() const; - - static Server &Get(); -}; -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -} - -#endif //USE_OPTICK \ No newline at end of file -- cgit v1.2.3