![]() |
Public API Reference |
#include <util.h>
Public Methods | |
| csWtoC (const wchar_t *ws) | |
| Constructor. More... | |
| ~csWtoC () | |
| Deletes the internally stored string. More... | |
| operator const char * () const | |
| Retrieve the converted string. More... | |
Use of this helper class is more convenient than an a csStrNewW() / delete[], but essentially does the same.
wchar_t* wstr = L"Hello World";
...
iNativeWindow* natwin = ... ;
natwin->SetTitle (csWtoC (wstr));
Definition at line 66 of file util.h.
|
|
Constructor.
Stores an UTF-8 converted version of Definition at line 75 of file util.h. References csStrNew. |
|
|
Deletes the internally stored string.
|
|
|
Retrieve the converted string.
|