Move xmrig.h to common/xmrig.h.

This commit is contained in:
XMRig 2018-04-13 07:00:51 +07:00
parent f197f6b1eb
commit 51422f4b1e
15 changed files with 13 additions and 15 deletions

View file

@ -18,6 +18,7 @@ set(HEADERS
src/common/config/ConfigLoader.h src/common/config/ConfigLoader.h
src/common/config/ConfigWatcher.h src/common/config/ConfigWatcher.h
src/common/utils/c_str.h src/common/utils/c_str.h
src/common/xmrig.h
src/Console.h src/Console.h
src/core/Config.cpp src/core/Config.cpp
src/core/ConfigLoader_platform.h src/core/ConfigLoader_platform.h
@ -60,7 +61,6 @@ set(HEADERS
src/workers/SingleWorker.h src/workers/SingleWorker.h
src/workers/Worker.h src/workers/Worker.h
src/workers/Workers.h src/workers/Workers.h
src/xmrig.h
) )
set(HEADERS_CRYPTO set(HEADERS_CRYPTO

View file

@ -28,7 +28,7 @@
#include <stdint.h> #include <stdint.h>
#include "xmrig.h" #include "common/xmrig.h"
class Cpu class Cpu

View file

@ -30,7 +30,7 @@
#include <stdint.h> #include <stdint.h>
#include "xmrig.h" #include "common/xmrig.h"
struct cryptonight_ctx; struct cryptonight_ctx;

View file

@ -34,10 +34,10 @@
# include <malloc.h> # include <malloc.h>
#endif #endif
#include "log/Log.h" #include "common/xmrig.h"
#include "crypto/CryptoNight.h" #include "crypto/CryptoNight.h"
#include "log/Log.h"
#include "Mem.h" #include "Mem.h"
#include "xmrig.h"
/***************************************************************** /*****************************************************************

View file

@ -36,7 +36,6 @@
#include "rapidjson/document.h" #include "rapidjson/document.h"
#include "rapidjson/filewritestream.h" #include "rapidjson/filewritestream.h"
#include "rapidjson/prettywriter.h" #include "rapidjson/prettywriter.h"
#include "xmrig.h"
xmrig::CommonConfig::CommonConfig() : xmrig::CommonConfig::CommonConfig() :

View file

@ -29,9 +29,9 @@
#include "common/utils/c_str.h" #include "common/utils/c_str.h"
#include "common/xmrig.h"
#include "interfaces/IConfig.h" #include "interfaces/IConfig.h"
#include "net/Pool.h" #include "net/Pool.h"
#include "xmrig.h"
namespace xmrig { namespace xmrig {

View file

@ -35,7 +35,6 @@
#include "rapidjson/filewritestream.h" #include "rapidjson/filewritestream.h"
#include "rapidjson/prettywriter.h" #include "rapidjson/prettywriter.h"
#include "workers/CpuThread.h" #include "workers/CpuThread.h"
#include "xmrig.h"
static char affinity_tmp[20] = { 0 }; static char affinity_tmp[20] = { 0 };

View file

@ -30,8 +30,8 @@
#include "common/config/CommonConfig.h" #include "common/config/CommonConfig.h"
#include "common/xmrig.h"
#include "rapidjson/fwd.h" #include "rapidjson/fwd.h"
#include "xmrig.h"
class Addr; class Addr;

View file

@ -29,7 +29,7 @@
#include <stdint.h> #include <stdint.h>
#include "xmrig.h" #include "common/xmrig.h"
namespace xmrig namespace xmrig

View file

@ -27,8 +27,8 @@
#include <stdint.h> #include <stdint.h>
#include "common/xmrig.h"
#include "rapidjson/fwd.h" #include "rapidjson/fwd.h"
#include "xmrig.h"
namespace xmrig { namespace xmrig {

View file

@ -30,8 +30,8 @@
#include <stdint.h> #include <stdint.h>
#include "common/xmrig.h"
#include "net/Id.h" #include "net/Id.h"
#include "xmrig.h"
class Job class Job

View file

@ -29,7 +29,7 @@
#include "common/utils/c_str.h" #include "common/utils/c_str.h"
#include "xmrig.h" #include "common/xmrig.h"
class Pool class Pool

View file

@ -22,13 +22,13 @@
*/ */
#include "common/xmrig.h"
#include "interfaces/IStrategyListener.h" #include "interfaces/IStrategyListener.h"
#include "net/Client.h" #include "net/Client.h"
#include "net/Job.h" #include "net/Job.h"
#include "net/strategies/DonateStrategy.h" #include "net/strategies/DonateStrategy.h"
#include "net/strategies/FailoverStrategy.h" #include "net/strategies/FailoverStrategy.h"
#include "Platform.h" #include "Platform.h"
#include "xmrig.h"
extern "C" extern "C"

View file

@ -25,8 +25,8 @@
#define __CPUTHREAD_H__ #define __CPUTHREAD_H__
#include "common/xmrig.h"
#include "interfaces/IThread.h" #include "interfaces/IThread.h"
#include "xmrig.h"
struct cryptonight_ctx; struct cryptonight_ctx;