diff -r 923ff622b8b9 -r 4633027730f5 src/hbservers/hbthemeserver/hbthemeserverutils_p.h --- a/src/hbservers/hbthemeserver/hbthemeserverutils_p.h Tue Jul 06 14:36:53 2010 +0300 +++ b/src/hbservers/hbthemeserver/hbthemeserverutils_p.h Wed Aug 18 10:05:37 2010 +0300 @@ -35,8 +35,7 @@ #include "hbsharedcache_p.h" #include "hbiconloader_p.h" #include "hbcssparser_p.h" -#include "hbcache_p.h" -class HbCache; + class QString; class QSizeF; @@ -47,13 +46,18 @@ static QString formatFromPath(const QString &iconPath); static int getSharedStylesheet(const QString &fileName, HbLayeredStyleLoader::LayerPriority priority, + bool &fileExists, bool *inSharedCache = 0); - static bool parseCssFile(HbCss::Parser &parser, const QString &fileName, int &cssOffset); - static void cleanupUnusedCss(HbCache *cache); + static int getMissedHbCssFilesOffset(); + static bool parseCssFile(HbCss::Parser &parser, + const QString &fileName, + int &cssOffset, + bool &fileExists); static int getSharedEffect(const QString &fileName); static int getSharedLayoutDefinition(const QString & fileName, const QString &layout, - const QString §ion); + const QString §ion, + bool &fileExists); static void createDeviceProfileDatabase(); static bool removeSharedEffect(const QString &fileName); static void clearSharedEffects(); @@ -61,6 +65,7 @@ static void createThemeIndex(const QString &themePath, const HbThemeType &themetype); private: + static void initMissedHbCssFilesList(); }; #endif // HBTHEMESERVERUTILS_P_H