summaryrefslogblamecommitdiffstats
path: root/src/ThreadNetwork.hpp
blob: a0917cd13465c9ddd815cf63b334e12b28845e82 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
};