/**************************************************************************** * wstring Class * by Hibernatus ***************************************************************************/ #ifndef __WSTRING_HPP #define __WSTRING_HPP #include class wString: public std::basic_string, std::allocator > { public: wString(void) { } wString(const wchar_t *s); wString(const std::basic_string, std::allocator > &ws); wString(const std::string &s); wString &operator=(const std::string &s); void fromUTF8(const char *s); std::string toUTF8(void) const; }; size_t utf8Len(const char *s); const wchar_t *wcscasestr(const wchar_t *s1, const wchar_t *s2); #endif // !defined(__WSTRING_HPP)