diff options
author | psychocrypt <psychocrypt@users.noreply.github.com> | 2017-09-29 21:43:43 +0200 |
---|---|---|
committer | psychocrypt <psychocrypt@users.noreply.github.com> | 2017-09-30 23:46:08 +0200 |
commit | 8babae3156430f5aa6b804f7c352ffb178097963 (patch) | |
tree | 6c09c50e518c1d6342c06b3890f71043fc0e90b5 /xmrstak/misc | |
parent | 4526840bb6347eaed7d80a807357f969f9c68a40 (diff) | |
download | xmr-stak-8babae3156430f5aa6b804f7c352ffb178097963.zip xmr-stak-8babae3156430f5aa6b804f7c352ffb178097963.tar.gz |
cleanup includes
Diffstat (limited to 'xmrstak/misc')
-rw-r--r-- | xmrstak/misc/console.cpp | 3 | ||||
-rw-r--r-- | xmrstak/misc/console.hpp | 5 | ||||
-rw-r--r-- | xmrstak/misc/executor.cpp | 25 | ||||
-rw-r--r-- | xmrstak/misc/executor.hpp | 12 | ||||
-rw-r--r-- | xmrstak/misc/jext.hpp | 3 | ||||
-rw-r--r-- | xmrstak/misc/telemetry.cpp | 4 | ||||
-rw-r--r-- | xmrstak/misc/telemetry.hpp | 1 |
7 files changed, 33 insertions, 20 deletions
diff --git a/xmrstak/misc/console.cpp b/xmrstak/misc/console.cpp index 0c73b1d..ba34bb3 100644 --- a/xmrstak/misc/console.cpp +++ b/xmrstak/misc/console.cpp @@ -21,7 +21,8 @@ * */ -#include "console.h" +#include "xmrstak/misc/console.hpp" + #include <time.h> #include <stdio.h> #include <string.h> diff --git a/xmrstak/misc/console.hpp b/xmrstak/misc/console.hpp index ac2ed3c..c68bba3 100644 --- a/xmrstak/misc/console.hpp +++ b/xmrstak/misc/console.hpp @@ -1,6 +1,9 @@ #pragma once + +#include "xmrstak/misc/environment.hpp" + #include <mutex> -#include "Environment.hpp" + enum out_colours { K_RED, K_GREEN, K_BLUE, K_YELLOW, K_CYAN, K_MAGENTA, K_WHITE, K_NONE }; diff --git a/xmrstak/misc/executor.cpp b/xmrstak/misc/executor.cpp index 64f3d40..455412e 100644 --- a/xmrstak/misc/executor.cpp +++ b/xmrstak/misc/executor.cpp @@ -21,24 +21,25 @@ * */ +#include "executor.hpp" +#include "xmrstak/net/jpsock.hpp" + +#include "telemetry.hpp" +#include "xmrstak/backend/miner_work.hpp" +#include "xmrstak/backend/globalStates.hpp" +#include "xmrstak/backend/backendConnector.hpp" + +#include "xmrstak/jconf.hpp" +#include "xmrstak/misc/console.hpp" +#include "xmrstak/donate-level.hpp" +#include "xmrstak/http/webdesign.hpp" + #include <thread> #include <string> #include <cmath> #include <algorithm> #include <assert.h> #include <time.h> -#include "executor.h" -#include "jpsock.h" - -#include "telemetry.h" -#include "backend/miner_work.h" -#include "backend/GlobalStates.hpp" -#include "backend/BackendConnector.hpp" - -#include "jconf.h" -#include "console.h" -#include "donate-level.h" -#include "webdesign.h" #ifdef _WIN32 #define strncasecmp _strnicmp diff --git a/xmrstak/misc/executor.hpp b/xmrstak/misc/executor.hpp index a3a0828..8be5f56 100644 --- a/xmrstak/misc/executor.hpp +++ b/xmrstak/misc/executor.hpp @@ -1,16 +1,18 @@ #pragma once + #include "thdq.hpp" -#include "msgstruct.h" +#include "telemetry.hpp" +#include "xmrstak/backend/iBackend.hpp" +#include "xmrstak/misc/environment.hpp" +#include "xmrstak/net/msgstruct.hpp" + #include <atomic> #include <array> #include <list> #include <future> -#include "telemetry.h" -#include "backend/IBackend.hpp" -#include "Environment.hpp" -class jpsock; +class jpsock; namespace xmrstak { diff --git a/xmrstak/misc/jext.hpp b/xmrstak/misc/jext.hpp index dce73a0..f4a333c 100644 --- a/xmrstak/misc/jext.hpp +++ b/xmrstak/misc/jext.hpp @@ -1,5 +1,8 @@ #pragma once +#include "xmrstak/rapidjson/document.h" +#include "xmrstak/rapidjson/error/en.h" + using namespace rapidjson; /* This macro brings rapidjson more in line with other libs */ diff --git a/xmrstak/misc/telemetry.cpp b/xmrstak/misc/telemetry.cpp index fafccd5..c5cce23 100644 --- a/xmrstak/misc/telemetry.cpp +++ b/xmrstak/misc/telemetry.cpp @@ -21,10 +21,12 @@ * */ +#include "telemetry.hpp" + #include <cmath> #include <cstring> #include <chrono> -#include "telemetry.h" + namespace xmrstak { diff --git a/xmrstak/misc/telemetry.hpp b/xmrstak/misc/telemetry.hpp index 0538090..b35bbbf 100644 --- a/xmrstak/misc/telemetry.hpp +++ b/xmrstak/misc/telemetry.hpp @@ -1,6 +1,7 @@ #pragma once #include <cstdint> +#include <cstring> namespace xmrstak { |