| 82 | } |
| 83 | |
| 84 | std::string FileUtilsWinRT::getNativeWritableAbsolutePath() const { |
| 85 | if (!_writablePath.empty()) |
| 86 | { |
| 87 | return _writablePath; |
| 88 | } |
| 89 | |
| 90 | auto localFolderPath = winrt::Windows::Storage::ApplicationData::Current().LocalFolder().Path(); |
| 91 | std::string ret = PlatformStringToString(localFolderPath); |
| 92 | ret += '\\'; |
| 93 | std::replace(ret.begin(), ret.end(), '\\', '/'); |
| 94 | return ret; |
| 95 | } |
| 96 | |
| 97 | FileUtilsWinRT::FileUtilsWinRT() |
| 98 | { |
nothing calls this directly
no test coverage detected