Core: Rework VirtualDirectory to allow custom directory resolving
This commit is contained in:
17
include/Nazara/Core/VirtualDirectoryFilesystemResolver.inl
Normal file
17
include/Nazara/Core/VirtualDirectoryFilesystemResolver.inl
Normal file
@@ -0,0 +1,17 @@
|
||||
// Copyright (C) 2023 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 <Nazara/Core/VirtualDirectoryFilesystemResolver.hpp>
|
||||
#include <Nazara/Core/Debug.hpp>
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
inline VirtualDirectoryFilesystemResolver::VirtualDirectoryFilesystemResolver(std::filesystem::path physicalPath, OpenModeFlags fileOpenMode) :
|
||||
m_physicalPath(std::move(physicalPath)),
|
||||
m_fileOpenMode(fileOpenMode)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
#include <Nazara/Core/DebugOff.hpp>
|
||||
Reference in New Issue
Block a user