Core: Move platform-specific code to PlatformImpl namespace
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#include <memory>
|
||||
#include <Nazara/Core/Debug.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz::PlatformImpl
|
||||
{
|
||||
DynLibImpl::~DynLibImpl()
|
||||
{
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <filesystem>
|
||||
#include <Windows.h>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz::PlatformImpl
|
||||
{
|
||||
class DynLibImpl
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include <memory>
|
||||
#include <Nazara/Core/Debug.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz::PlatformImpl
|
||||
{
|
||||
FileImpl::FileImpl(const File* parent) :
|
||||
m_endOfFile(false),
|
||||
|
||||
@@ -12,11 +12,8 @@
|
||||
#include <ctime>
|
||||
#include <Windows.h>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz::PlatformImpl
|
||||
{
|
||||
class File;
|
||||
class String;
|
||||
|
||||
class FileImpl
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
#include <Nazara/Core/Debug.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz::PlatformImpl
|
||||
{
|
||||
void HardwareInfoImpl::Cpuid(UInt32 functionId, UInt32 subFunctionId, UInt32 registers[4])
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz::PlatformImpl
|
||||
{
|
||||
class HardwareInfoImpl
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <Windows.h>
|
||||
#include <Nazara/Core/Debug.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz::PlatformImpl
|
||||
{
|
||||
namespace NAZARA_ANONYMOUS_NAMESPACE
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/Core/Time.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz::PlatformImpl
|
||||
{
|
||||
bool InitializeHighPrecisionTimer();
|
||||
Time GetElapsedNanosecondsImpl();
|
||||
|
||||
Reference in New Issue
Block a user