From d3f5a1e20f159287764d3090ad0024ef42812709 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 16 Jan 2012 02:21:03 +0200 Subject: Proxifier's config lookup --- client/Utility.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'client/Utility.h') diff --git a/client/Utility.h b/client/Utility.h index fef395b..8cdecaf 100644 --- a/client/Utility.h +++ b/client/Utility.h @@ -11,4 +11,22 @@ */ QByteArray md5_sum(QString &filename); + +#ifdef WIN32 + +#include + +/** + * @brief returns number of TCHARs in string + */ +int wstrlen(_TCHAR * wstr); + +/** + * @brief Allocate char string and copy TCHAR->char->string + */ +char* wstrdup(_TCHAR* wSrc); + +#endif + + #endif \ No newline at end of file -- cgit v1.2.3