Utility.hpp
Go to the documentation of this file.
00001 
00002 
00003 
00004 // REDESIGN: Rename to StringConversion.hpp?
00005 
00006 #ifndef GOSU_UTILITY_HPP
00007 #define GOSU_UTILITY_HPP
00008 
00009 #include <string>
00010 #include <vector>
00011 
00012 namespace Gosu
00013 {
00015     std::wstring utf8ToWstring(const std::string& utf8);
00017     std::string wstringToUTF8(const std::wstring& ws);
00018 
00020     std::wstring widen(const std::string& s);
00022     std::string narrow(const std::wstring& ws);
00023 }
00024 
00025 #endif