diff options
Diffstat (limited to 'client/Utility.h')
-rw-r--r-- | client/Utility.h | 18 |
1 files changed, 18 insertions, 0 deletions
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 <shlobj.h> + +/** + * @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 |