From 725ea566a2b6a12e0a02e4f570b6e99102e2d21b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 8 Apr 2019 21:04:12 +0200 Subject: Refactor, remove a lot of code and use dchat core instead --- include/Rpc.hpp | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 include/Rpc.hpp (limited to 'include/Rpc.hpp') diff --git a/include/Rpc.hpp b/include/Rpc.hpp deleted file mode 100644 index c8b47e0..0000000 --- a/include/Rpc.hpp +++ /dev/null @@ -1,21 +0,0 @@ -#pragma once - -#include -#include "types.hpp" -#include - -namespace dchat -{ - using RpcRecvCallbackFunc = std::function; - - class Rpc - { - public: - Rpc(u16 port); - void recv(RpcRecvCallbackFunc recvCallbackFunc); - bool send(const void *data, const usize size); - private: - zmq::context_t context; - zmq::socket_t socket; - }; -} \ No newline at end of file -- cgit v1.2.3