aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/FileUtil.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/FileUtil.hpp b/include/FileUtil.hpp
index 0487227..d740fff 100644
--- a/include/FileUtil.hpp
+++ b/include/FileUtil.hpp
@@ -25,6 +25,7 @@ namespace sibs
std::string toUtf8(const char *input);
FileString toFileString(const std::string &utf8Str);
FileString toFileString(const StringView &utf8Str);
+ FileString toFileString(const char *str);
#else
std::string toUtf8(const sibs::FileString &input);
std::string toUtf8(const TCHAR *input);
@@ -32,6 +33,7 @@ namespace sibs
FileString utf8To16(const std::string &utf8Str);
FileString toFileString(const std::string &utf8Str);
FileString toFileString(const StringView &utf8Str);
+ FileString toFileString(const char *str);
FileString getLastErrorAsString();
void replaceChar(FileString &input, wchar_t charToReplace, wchar_t charToReplaceWith);
#endif