summaryrefslogtreecommitdiffstats
path: root/src/ThreadNetwork.hpp
blob: 60df0d078d2d61adc65c59433770529bc3580010 (plain) (blame)
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;
    bool isRunning = true;
public:
	ThreadNetwork();
	~ThreadNetwork();
	void Execute() override;
};