src/hbservers/hbthemeserver/hbthemeserverutils_p.h
changeset 2 06ff229162e9
parent 1 f7ac710697a9
child 3 11d3954df52a
--- a/src/hbservers/hbthemeserver/hbthemeserverutils_p.h	Mon May 03 12:48:33 2010 +0300
+++ b/src/hbservers/hbthemeserver/hbthemeserverutils_p.h	Fri May 14 16:09:54 2010 +0300
@@ -32,6 +32,7 @@
 
 #include "hblayeredstyleloader_p.h"
 #include "hbthemecommon_p.h"
+#include "hbsharedcache_p.h"
 #include "hbiconloader_p.h"
 #include "hbcssparser_p.h"
 #include "hbcache_p.h"
@@ -44,20 +45,17 @@
 public:
     static HbIconSource *getIconSource(const QString &filename);
     static QString formatFromPath(const QString &iconPath);
-    static int getSharedStylesheet(const QString &fileName, HbLayeredStyleLoader::LayerPriority priority);
+    static int getSharedStylesheet(const QString &fileName, HbLayeredStyleLoader::LayerPriority priority,
+                                   bool *inSharedCache = 0);
     static bool parseCssFile(HbCss::Parser &parser, const QString &fileName, int &cssOffset);
     static void cleanupUnusedCss(HbCache *cache);
     static int getSharedEffect(const QString &fileName);
     static int getSharedLayoutDefinition(const QString & fileName, const QString &layout, const QString &section);
     static void createDeviceProfileDatabase();
-    static HbSharedCache *createSharedCache();
-    static int sharedCacheOffset();
     static bool removeSharedEffect(const QString &fileName);
     static void clearSharedEffects();
 
 private:
-    static int sharedCacheItemOffset(const QString &key);
-    static int serverSecondaryCacheOffset;
 };
 
 #endif // HBTHEMESERVERUTILS_P_H