diff options
| author | jhurst <jhurst@cinecert.com> | 2019-01-28 09:52:36 +0100 |
|---|---|---|
| committer | jhurst <jhurst@cinecert.com> | 2019-01-28 09:52:36 +0100 |
| commit | 348d85dad7de82fd697a9f9a36346d7428d2959d (patch) | |
| tree | 565fd1f4b5af04b32987ff6af75330404a91d385 /src/KM_fileio.h | |
| parent | b6c1a21fb8ad97e5cf9081232f9ee8507a38ac44 (diff) | |
o Added wilde-char support for filenames on Win32
Diffstat (limited to 'src/KM_fileio.h')
| -rwxr-xr-x | src/KM_fileio.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/KM_fileio.h b/src/KM_fileio.h index 264509a..bf258e6 100755 --- a/src/KM_fileio.h +++ b/src/KM_fileio.h @@ -300,6 +300,16 @@ namespace Kumu Result_t WriteBufferIntoFile(const Kumu::ByteString& Buffer, const std::string& Filename); +#ifdef KM_WIN32 + //------------------------------------------------------------------------------------------ + // wide char support for win32 file I/O + //------------------------------------------------------------------------------------------ + + // + Result_t wbstr_to_utf8(const Kumu::ByteString& in, std::string& out); + Result_t utf8_to_wbstr(const std::string& in, Kumu::ByteString& out); +#endif + //------------------------------------------------------------------------------------------ // File I/O //------------------------------------------------------------------------------------------ |
