Utility.hpp
Go to the documentation of this file.
1 
2 
3 
4 #ifndef GOSU_UTILITY_HPP
5 #define GOSU_UTILITY_HPP
6 
7 #include <string>
8 #include <vector>
9 
10 namespace Gosu
11 {
13  std::wstring utf8ToWstring(const std::string& utf8);
15  std::string wstringToUTF8(const std::wstring& ws);
16 
18  std::wstring widen(const std::string& s);
20  std::string narrow(const std::wstring& ws);
21 
25  std::string language();
26 }
27 
28 #endif