| 35 | } |
| 36 | |
| 37 | inline std::string WStringToAnsi(const wchar* wideString) |
| 38 | { |
| 39 | char buffer[512]; |
| 40 | Win32Call(WideCharToMultiByte(CP_ACP, 0, wideString, -1, buffer, 612, NULL, NULL)); |
| 41 | return std::string(buffer); |
| 42 | } |
| 43 | |
| 44 | // Splits up a string using a delimiter |
| 45 | inline void Split(const std::wstring& str, std::vector<std::wstring>& parts, const std::wstring& delimiters = L" ") |
no test coverage detected