#ifndef UTILITY_H #define UTILITY_H #include #include /** * @brief Calculate file's md5 sum value */ 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