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

@@ -19,7 +19,10 @@
namespace Nz
{
class FileImpl;
namespace PlatformImpl
{
class FileImpl;
}
class NAZARA_CORE_API File : public Stream
{
@@ -70,7 +73,7 @@ namespace Nz
std::size_t WriteBlock(const void* buffer, std::size_t size) override;
std::filesystem::path m_filePath;
std::unique_ptr<FileImpl> m_impl;
std::unique_ptr<PlatformImpl::FileImpl> m_impl;
};
NAZARA_CORE_API bool HashAppend(AbstractHash& hash, const File& originalFile);