summaryrefslogblamecommitdiffstats
path: root/src/ThreadNetwork.hpp
blob: 73f9ab8dc0774186fe9577a950177c516723c666 (plain) (tree)
1
2
3
4
5
6
7
8
9






                              
                                      
                          




                                
#pragma once

#include "Thread.hpp"
#include "NetworkClient.hpp"
#include "Event.hpp"

class ThreadNetwork : Thread {
    std::shared_ptr<NetworkClient> nc;
    bool isRunning = true;
public:
	ThreadNetwork();
	~ThreadNetwork();
	void Execute() override;
};