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