diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-01-01 09:40:08 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2018-01-01 09:41:07 +0100 |
commit | 1f6ee990275f412d4cc84483051fd549710da634 (patch) | |
tree | 9d41c91a67390d05329c590876da8656e4c0c4d8 /include/FileUtil.hpp | |
parent | 281ca4edaaa40d1cbffcde1e6f593133653397b8 (diff) |
Add config parsing for cmake
cmake has not integrated yet, but it will parse...
Add test script to easily run tests
Diffstat (limited to 'include/FileUtil.hpp')
-rw-r--r-- | include/FileUtil.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/FileUtil.hpp b/include/FileUtil.hpp index 90b9ca3..64d0c99 100644 --- a/include/FileUtil.hpp +++ b/include/FileUtil.hpp @@ -23,12 +23,14 @@ namespace sibs #if OS_FAMILY == OS_FAMILY_POSIX #define toUtf8(input) input FileString toFileString(const std::string &utf8Str); + FileString toFileString(const StringView &utf8Str); #else std::string toUtf8(const sibs::FileString &input); std::string toUtf8(const TCHAR *input); FileString utf8To16(const StringView &utf8Str); FileString utf8To16(const std::string &utf8Str); FileString toFileString(const std::string &utf8Str); + FileString toFileString(const StringView &utf8Str); FileString getLastErrorAsString(); void replaceChar(FileString &input, wchar_t charToReplace, wchar_t charToReplaceWith); #endif |