From 7c7e351d3402692fc2a0d9e213e5cc819d52d52f Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Mon, 13 Jan 2020 16:51:48 +0100 Subject: [PATCH] Add missing function's declarations to convert path for windows. --- include/tools/pathTools.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/tools/pathTools.h b/include/tools/pathTools.h index 19c843321..37ab6fd2b 100644 --- a/include/tools/pathTools.h +++ b/include/tools/pathTools.h @@ -22,6 +22,10 @@ #include +#ifdef _WIN32 +std::string WideToUtf8(const std::wstring& wstr); +std::wstring Utf8ToWide(const std::string& str); +#endif bool isRelativePath(const std::string& path); std::string computeAbsolutePath(const std::string& path, const std::string& relativePath); std::string computeRelativePath(const std::string& path, const std::string& absolutePath);