mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-01 09:05:06 +01:00
22 lines
544 B
C++
22 lines
544 B
C++
|
|
#ifndef __WSTRINGEX_HPP
|
|
#define __WSTRINGEX_HPP
|
|
|
|
#include <string>
|
|
|
|
class wstringEx : public std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >
|
|
{
|
|
public:
|
|
wstringEx(void) { }
|
|
wstringEx(const wchar_t *s);
|
|
wstringEx(const std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > &ws);
|
|
wstringEx(const std::string &s);
|
|
wstringEx &operator=(const std::string &s);
|
|
void fromUTF8(const char *s);
|
|
std::string toUTF8(void) const;
|
|
};
|
|
|
|
|
|
#endif // !defined(__WSTRINGEX_HPP)
|
|
|