diff options
Diffstat (limited to 'c/common.h')
-rw-r--r-- | c/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,6 +13,8 @@ struct wstring_owner { + static wstring_owner from_narrow(const char* buf, int cp = CP_UTF8); + static wstring_owner copy(const wchar_t* s); wstring_owner(); wstring_owner(wchar_t* s); wstring_owner& operator=(wchar_t* s); @@ -26,9 +28,7 @@ struct wstring_owner wchar_t* p = nullptr; }; -wstring_owner WsoFromSz(const char* buf, int cp = CP_UTF8); int EBMessageBox(const wchar_t* wszText, const wchar_t* wszCaption, unsigned uType); -wstring_owner WsoCopy(const wchar_t* s); struct Win32Error : public std::exception { |