mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-07 16:05:05 -05:00
Add IWorker, Handle, SingleWorker, Worker classes.
This commit is contained in:
13
src/App.h
13
src/App.h
@@ -25,8 +25,12 @@
|
||||
#define __APP_H__
|
||||
|
||||
|
||||
class Options;
|
||||
#include <vector>
|
||||
|
||||
|
||||
class Handle;
|
||||
class Network;
|
||||
class Options;
|
||||
|
||||
|
||||
class App
|
||||
@@ -38,8 +42,13 @@ public:
|
||||
int exec();
|
||||
|
||||
private:
|
||||
Options *m_options;
|
||||
void startWorders();
|
||||
|
||||
static void* onWorkerStarted(void *arg);
|
||||
|
||||
Network *m_network;
|
||||
Options *m_options;
|
||||
std::vector<Handle*> m_workers;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user