Files
FlaxEngine/Source/Engine/Platform/UWP/UWPFileSystem.cpp
2020-12-07 23:40:54 +01:00

18 lines
419 B
C++

// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
#if PLATFORM_UWP
#include "UWPFileSystem.h"
#include "Engine/Core/Types/String.h"
void UWPFileSystem::GetSpecialFolderPath(const SpecialFolder type, String& result)
{
Char buffer[260];
int length = CUWPPlatform->GetSpecialFolderPath((UWPPlatformImpl::SpecialFolder)type, buffer, 260);
result = buffer;
NormalizePath(result);
}
#endif