43 class HbThemeServerUtils |
43 class HbThemeServerUtils |
44 { |
44 { |
45 public: |
45 public: |
46 static HbIconSource *getIconSource(const QString &filename); |
46 static HbIconSource *getIconSource(const QString &filename); |
47 static QString formatFromPath(const QString &iconPath); |
47 static QString formatFromPath(const QString &iconPath); |
48 static int getSharedStylesheet(const QString &fileName, HbLayeredStyleLoader::LayerPriority priority, |
48 static int getSharedStylesheet(const QString &fileName, |
|
49 HbLayeredStyleLoader::LayerPriority priority, |
49 bool *inSharedCache = 0); |
50 bool *inSharedCache = 0); |
50 static bool parseCssFile(HbCss::Parser &parser, const QString &fileName, int &cssOffset); |
51 static bool parseCssFile(HbCss::Parser &parser, const QString &fileName, int &cssOffset); |
51 static void cleanupUnusedCss(HbCache *cache); |
52 static void cleanupUnusedCss(HbCache *cache); |
52 static int getSharedEffect(const QString &fileName); |
53 static int getSharedEffect(const QString &fileName); |
53 static int getSharedLayoutDefinition(const QString & fileName, const QString &layout, const QString §ion); |
54 static int getSharedLayoutDefinition(const QString & fileName, |
|
55 const QString &layout, |
|
56 const QString §ion); |
54 static void createDeviceProfileDatabase(); |
57 static void createDeviceProfileDatabase(); |
55 static bool removeSharedEffect(const QString &fileName); |
58 static bool removeSharedEffect(const QString &fileName); |
56 static void clearSharedEffects(); |
59 static void clearSharedEffects(); |
57 |
60 |
58 private: |
61 private: |
59 }; |
62 }; |
60 |
63 |
61 #endif // HBTHEMESERVERUTILS_P_H |
64 #endif // HBTHEMESERVERUTILS_P_H |
62 |
|