--- a/src/hbservers/hbthemeserver/hbicondatacache_p.h Fri May 14 16:09:54 2010 +0300
+++ b/src/hbservers/hbthemeserver/hbicondatacache_p.h Thu May 27 13:10:59 2010 +0300
@@ -40,14 +40,14 @@
HbIconCacheItem* getCacheItem(const HbIconKey &key ,
HbRenderingMode currentRenderingMode,
bool isMultiIconPiece = false);
- bool insert(const HbIconKey &key, HbIconCacheItem* item);
+ bool insert(const HbIconKey &key, HbIconCacheItem *item);
bool remove(const HbIconKey& key, bool keepInCache = true);
void setMaxGpuCacheSize(int size);
void setMaxCpuCacheSize(int size);
bool contains(const HbIconKey &key) const;
HbIconCacheItem* value(const HbIconKey &key) const;
- bool isItemCachableInGpu(const HbIconCacheItem* item)const;
- bool isItemCachableInCpu(const HbIconCacheItem* item)const;
+ bool isItemCachableInGpu(const HbIconCacheItem *item)const;
+ bool isItemCachableInCpu(const HbIconCacheItem *item)const;
void memoryGood();
void freeGpuRam(int bytes);
void freeUnusedGpuResources();
@@ -78,9 +78,9 @@
void createCpuCacheSpace(int itemCost);
void updateGpuLruSize(int iconDataCost);
void updateCpuLruSize(int iconDataCost);
- void removeFromCache(const HbIconKey &key, const HbIconCacheItem* releaseItem);
- void releaseVectorItem(HbIconCacheItem* releaseItem);
- void releaseRasterItem(HbIconCacheItem* releaseItem);
+ void removeFromCache(const HbIconKey &key, const HbIconCacheItem *releaseItem);
+ void releaseVectorItem(HbIconCacheItem *releaseItem);
+ void releaseRasterItem(HbIconCacheItem *releaseItem);
private:
QHash<HbIconKey, HbIconCacheItem*> *cache;