#include #include #include namespace scwx::qt::manager::TaskManager { static const std::string logPrefix_ = "scwx::qt::manager::task_manager"; static const auto logger_ = scwx::util::Logger::Create(logPrefix_); static std::shared_ptr ntpClient_ {}; void Initialize() { logger_->debug("Initialize"); ntpClient_ = network::NtpClient::Instance(); ntpClient_->Start(); ntpClient_->WaitForInitialOffset(); } void Shutdown() { logger_->debug("Shutdown"); ntpClient_->Stop(); } } // namespace scwx::qt::manager::TaskManager