mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-25 04:36:53 +01:00
c51b2304c2
* added direct list of emu nand channels without activating emu nand (for speed up) * removed autoclose of search bar and changed the search engine to have both methods * added setting for switching "Beginning" and "Content" search methods and a quick switch button on search window * added autocomplete if only one search character is available and more than one match * added seperate path and setting for emu nand channels/saves * added caching of emu nand channel titles * fixed a few alignment issues when activating emu nand (thanks daveboal) * some minor clean ups TODO/Next Rev: * add channels banner sounds * remove unneeded game settings options on channels
29 lines
801 B
C++
29 lines
801 B
C++
/****************************************************************************
|
|
* wstring Class
|
|
* by Hibernatus
|
|
***************************************************************************/
|
|
#ifndef __WSTRING_HPP
|
|
#define __WSTRING_HPP
|
|
|
|
#include <string>
|
|
|
|
class wString: public std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >
|
|
{
|
|
public:
|
|
wString(void)
|
|
{
|
|
}
|
|
wString(const wchar_t *s);
|
|
wString(const std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > &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)
|