Mark Platform::WinNarrow/WinWiden as to-be-eventually-deprecated

This commit is contained in:
Tamás Bálint Misius 2023-05-27 20:07:52 +02:00
parent 920f7646e4
commit 16e1ca74f2
No known key found for this signature in database
GPG Key ID: 5B472A12F6ECA9F2

View File

@ -39,6 +39,8 @@ namespace Platform
bool ReadFile(std::vector<char> &fileData, ByteString filename); bool ReadFile(std::vector<char> &fileData, ByteString filename);
bool WriteFile(const std::vector<char> &fileData, ByteString filename); bool WriteFile(const std::vector<char> &fileData, ByteString filename);
// TODO: Remove these and switch to *A Win32 API variants when we stop fully supporting windows
// versions older than win10 1903, for example when win10 reaches EOL, see 18084d5aa0e5.
ByteString WinNarrow(const std::wstring &source); ByteString WinNarrow(const std::wstring &source);
std::wstring WinWiden(const ByteString &source); std::wstring WinWiden(const ByteString &source);