summaryrefslogtreecommitdiffstats
path: root/src/ThreadNetwork.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ThreadNetwork.hpp')
-rw-r--r--src/ThreadNetwork.hpp14
1 files changed, 14 insertions, 0 deletions
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