Added Env class.

This commit is contained in:
XMRig 2019-12-22 18:09:26 +07:00
parent bdf12bca0f
commit 356e666e61
No known key found for this signature in database
GPG key ID: 446A53638BE94409
6 changed files with 164 additions and 10 deletions

View file

@ -32,6 +32,7 @@
#include "base/kernel/interfaces/IBaseListener.h"
#include "base/tools/Object.h"
#include "base/tools/String.h"
namespace xmrig {
@ -71,7 +72,7 @@ private:
Base *m_base;
char m_id[32]{};
char m_workerId[128]{};
String m_workerId;
const uint64_t m_timestamp;
Httpd *m_httpd = nullptr;
std::vector<IApiListener *> m_listeners;