// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" // For conditions of distribution and use, see copyright notice in Config.hpp #include #include #include #include #include #include #include #include namespace Nz { /*! * \ingroup core * \class Nz::Core * \brief Core class that represents the Core module */ Core::Core(Config /*config*/) : ModuleBase("Core", this, ModuleBase::NoLog{}) { Log::Initialize(); LogInit(); m_hardwareInfo.emplace(); } Core::~Core() { m_hardwareInfo.reset(); TaskScheduler::Uninitialize(); LogUninit(); Log::Uninitialize(); } Core* Core::s_instance = nullptr; }