Core: Move platform-specific code to PlatformImpl namespace

This commit is contained in:
SirLynix
2024-01-22 16:49:21 +01:00
parent 3557040246
commit 373309d6d9
22 changed files with 45 additions and 42 deletions

View File

@@ -9,7 +9,7 @@
#include <memory>
#include <Nazara/Core/Debug.hpp>
namespace Nz
namespace Nz::PlatformImpl
{
DynLibImpl::~DynLibImpl()
{

View File

@@ -13,7 +13,7 @@
#include <filesystem>
#include <Windows.h>
namespace Nz
namespace Nz::PlatformImpl
{
class DynLibImpl
{

View File

@@ -11,7 +11,7 @@
#include <memory>
#include <Nazara/Core/Debug.hpp>
namespace Nz
namespace Nz::PlatformImpl
{
FileImpl::FileImpl(const File* parent) :
m_endOfFile(false),

View File

@@ -12,11 +12,8 @@
#include <ctime>
#include <Windows.h>
namespace Nz
namespace Nz::PlatformImpl
{
class File;
class String;
class FileImpl
{
public:

View File

@@ -12,7 +12,7 @@
#include <Nazara/Core/Debug.hpp>
namespace Nz
namespace Nz::PlatformImpl
{
void HardwareInfoImpl::Cpuid(UInt32 functionId, UInt32 subFunctionId, UInt32 registers[4])
{

View File

@@ -9,7 +9,7 @@
#include <NazaraUtils/Prerequisites.hpp>
namespace Nz
namespace Nz::PlatformImpl
{
class HardwareInfoImpl
{

View File

@@ -8,7 +8,7 @@
#include <Windows.h>
#include <Nazara/Core/Debug.hpp>
namespace Nz
namespace Nz::PlatformImpl
{
namespace NAZARA_ANONYMOUS_NAMESPACE
{

View File

@@ -10,7 +10,7 @@
#include <NazaraUtils/Prerequisites.hpp>
#include <Nazara/Core/Time.hpp>
namespace Nz
namespace Nz::PlatformImpl
{
bool InitializeHighPrecisionTimer();
Time GetElapsedNanosecondsImpl();