2019-09-02 10:28:14 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
// C3 Precompiled header.
|
2020-03-05 15:30:50 +00:00
|
|
|
#include "Common/FSecure/C3/PrecompiledHeader.hpp"
|
2019-09-02 10:28:14 +00:00
|
|
|
|
|
|
|
// Standard library includes.
|
|
|
|
#include <chrono> //< C++ time library.
|
|
|
|
#include <cctype> //< For std::isprint().
|
|
|
|
#include <fstream> //< Used by BinaryImageUtils.
|
|
|
|
#include <optional> //< For std::optional.
|
|
|
|
#include <type_traits> //< For traits.
|
|
|
|
#include <iostream> //< For std::cout. Parts that are common for NodeRelay and GateRelay should not use it.
|
2019-10-03 14:12:44 +00:00
|
|
|
#include <future> //< For async
|
2019-09-02 10:28:14 +00:00
|
|
|
|
|
|
|
// External dependencies.
|
|
|
|
#include "Common/json/json.hpp" //< For json.
|
|
|
|
|
|
|
|
// Namespaces.
|
|
|
|
using json = nlohmann::json; //< For JSON format.
|
|
|
|
|
|
|
|
// Literals.
|
|
|
|
using namespace std::chrono_literals;
|