diff options
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 //------------------------------------------------------------------------------------------ |
