diff -r 1eb8015a8491 -r c0dfc135a46c userguide/src/HelpUtils.cpp --- a/userguide/src/HelpUtils.cpp Fri Apr 16 14:53:45 2010 +0300 +++ b/userguide/src/HelpUtils.cpp Mon May 03 12:24:47 2010 +0300 @@ -19,6 +19,8 @@ #include #include +#include + #include "HelpUtils.h" @@ -28,7 +30,7 @@ #include #include -#include +#include #include void LoadFileFromZipL(const TDesC& aZipName, const TDesC& aFileName, QString& desBuffer) @@ -88,7 +90,14 @@ QT_TRAP_THROWING(LoadFileFromZipL(zipNameDes, subFileDes, htmlContent)); } - +#else +void HelpUtils::loadHtmlFromZipFile(const QString& path, const QString& htmlFile, QString& htmlContent) +{ + Q_UNUSED(path); + Q_UNUSED(htmlFile); + Q_UNUSED(htmlContent); + return; +} #endif QString HelpUtils::rootPath() @@ -234,6 +243,8 @@ { return req5->lastError(); } +#else + Q_UNUSED(appUid); #endif return 0; } @@ -248,4 +259,14 @@ return Qt::AscendingOrder; } +int HelpUtils::findStr(const QString& strFrom, const QString& strToFind) +{ + return HbStringUtil::findC(strFrom, strToFind); +} + +int HelpUtils::compareStr(const QString& str1, const QString& str2) +{ + return HbStringUtil::compareC(str1, str2); +} + // end of file