diff options
Diffstat (limited to 'protocols/WhatsApp/src/utils.h')
-rw-r--r-- | protocols/WhatsApp/src/utils.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/protocols/WhatsApp/src/utils.h b/protocols/WhatsApp/src/utils.h index a14a707a14..d9a1218312 100644 --- a/protocols/WhatsApp/src/utils.h +++ b/protocols/WhatsApp/src/utils.h @@ -27,8 +27,15 @@ public: std::string getLastErrorMsg();
+__forceinline TCHAR* str2t(const std::string &str)
+{ return mir_utf8decodeT(str.c_str());
+}
+
namespace utils
{
+ TCHAR* removeA(TCHAR *str);
+ void copyText(HWND hwnd, const TCHAR *text);
+
void setStatusMessage(MCONTACT hContact, const TCHAR *ptszMessage);
BYTE* md5string(const BYTE*, int, BYTE* digest);
|