12345678910111213141516171819202122 |
- #pragma once
- #include<thread>
- class SocketClient;
- class INativeNotify;
- class CUpdateThread
- {
- public:
-
- CUpdateThread();
-
- ~CUpdateThread();
- void start(SocketClient *c);
- void stop();
-
- private:
- void run();
- private:
- SocketClient* _client;
- std::thread _thread;
- bool _run;
-
- };
|