diff options
author | chai <chaifix@163.com> | 2019-03-19 23:06:27 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-03-19 23:06:27 +0800 |
commit | 1497dccd63a84b7ee2b229b1ad9c5c02718f2a78 (patch) | |
tree | f8d1bff50da13e126d08c7345653e002e293202d /Source/3rdParty/physfs/physfs_platform_winrt.cpp | |
parent | 5e2a973516e0729b225da9de0b03015dc5854ac4 (diff) |
*rename
Diffstat (limited to 'Source/3rdParty/physfs/physfs_platform_winrt.cpp')
-rw-r--r-- | Source/3rdParty/physfs/physfs_platform_winrt.cpp | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/Source/3rdParty/physfs/physfs_platform_winrt.cpp b/Source/3rdParty/physfs/physfs_platform_winrt.cpp deleted file mode 100644 index f50fc9d..0000000 --- a/Source/3rdParty/physfs/physfs_platform_winrt.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Windows Runtime (WinRT) support routines for PhysicsFS. - * - * Please see the file LICENSE.txt in the source's root directory. - * - * This file originally written by Martin "T-Bone" Ahrnbom, but was mostly - * merged into physfs_platform_windows.c by Ryan C. Gordon (so please harass - * Ryan about bugs and not Martin). - */ - -/* (There used to be instructions on how to make a WinRT project, but at - this point, either CMake will do it for you or you should just drop - PhysicsFS's sources into your existing project. --ryan.) */ - -#define __PHYSICSFS_INTERNAL__ -#include "physfs_platforms.h" - -#ifdef PHYSFS_PLATFORM_WINRT - -#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS) -#define _CRT_SECURE_NO_WARNINGS 1 -#endif -#include <windows.h> - -#include "physfs_internal.h" - -const void *__PHYSFS_winrtCalcBaseDir(void) -{ - return Windows::ApplicationModel::Package::Current->InstalledLocation->Path->Data(); -} /* __PHYSFS_winrtCalcBaseDir */ - -const void *__PHYSFS_winrtCalcPrefDir(void) -{ - return Windows::Storage::ApplicationData::Current->LocalFolder->Path->Data(); -} /* __PHYSFS_winrtCalcBaseDir */ - - -#endif /* PHYSFS_PLATFORM_WINRT */ - -/* end of physfs_platform_winrt.cpp ... */ - |