From f7decf41d8d0062901cd39c42a3669a80537c7df Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Thu, 3 Aug 2017 20:03:59 +0500 Subject: 2017-08-03 --- src/ThreadNetwork.hpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/ThreadNetwork.hpp (limited to 'src/ThreadNetwork.hpp') diff --git a/src/ThreadNetwork.hpp b/src/ThreadNetwork.hpp new file mode 100644 index 0000000..a0917cd --- /dev/null +++ b/src/ThreadNetwork.hpp @@ -0,0 +1,14 @@ +#pragma once + +#include "Thread.hpp" +#include "NetworkClient.hpp" +#include "Event.hpp" + +class ThreadNetwork : Thread { + NetworkClient *nc = nullptr; + GlobalState state; +public: + ThreadNetwork(); + ~ThreadNetwork(); + void Execute() override; +}; \ No newline at end of file -- cgit v1.2.3