Move network classes into xmrig namespace.

This commit is contained in:
XMRig
2019-02-17 06:59:19 +07:00
parent c3a597f809
commit f5a8b9308a
42 changed files with 481 additions and 332 deletions

View File

@@ -30,6 +30,9 @@
#include "common/interfaces/IStrategy.h"
namespace xmrig {
class Client;
class IStrategyListener;
class Pool;
@@ -47,7 +50,7 @@ public:
int64_t submit(const JobResult &result) override;
void connect() override;
void resume() override;
void setAlgo(const xmrig::Algorithm &algo) override;
void setAlgo(const Algorithm &algo) override;
void stop() override;
void tick(uint64_t now) override;
@@ -63,4 +66,8 @@ private:
IStrategyListener *m_listener;
};
} /* namespace xmrig */
#endif /* XMRIG_SINGLEPOOLSTRATEGY_H */