151 |
151 |
152 void storeFrameDrawerInfo(HbFrameDrawerPrivate *frameDrawer); |
152 void storeFrameDrawerInfo(HbFrameDrawerPrivate *frameDrawer); |
153 void removeFrameDrawerInfo(HbFrameDrawerPrivate *frameDrawer); |
153 void removeFrameDrawerInfo(HbFrameDrawerPrivate *frameDrawer); |
154 |
154 |
155 void freeGpuIconData(); |
155 void freeGpuIconData(); |
|
156 void freeIconData(); |
156 void removeItemInCache(HbIconImpl *iconImpl); |
157 void removeItemInCache(HbIconImpl *iconImpl); |
157 |
158 |
158 void handleForegroundLost(); |
159 void handleForegroundLost(); |
159 |
160 |
160 static bool isInPrivateDirectory(const QString &filename); |
161 static bool isInPrivateDirectory(const QString &filename); |
182 QString resolveIconFileName(HbIconLoadingParams ¶ms); |
184 QString resolveIconFileName(HbIconLoadingParams ¶ms); |
183 HbIconImpl *getIconFromServer(HbIconLoadingParams ¶ms); |
185 HbIconImpl *getIconFromServer(HbIconLoadingParams ¶ms); |
184 void getIconFromServerAsync(HbIconLoadingParams ¶ms, |
186 void getIconFromServerAsync(HbIconLoadingParams ¶ms, |
185 HbAsyncIconLoaderCallback callback, |
187 HbAsyncIconLoaderCallback callback, |
186 void *callbackParam); |
188 void *callbackParam); |
187 void getMultiIconImplFromServer(QStringList &multiPartIconList, |
189 |
188 QVector<QSizeF> &sizeList, |
190 HbIconImpl * createLocalConsolidatedIcon(const HbMultiPartSizeData &multiPartIconData, |
189 Qt::AspectRatioMode aspectRatioMode, |
191 const QStringList & iconPathList, |
190 QIcon::Mode mode, |
192 const QSizeF &consolidatedSize, |
191 bool mirrored, |
193 Qt::AspectRatioMode aspectRatioMode, |
192 bool mirroredIconFound, |
194 QIcon::Mode mode, |
193 HbIconLoader::IconLoaderOptions options, |
195 const IconLoaderOptions & options, |
194 const QColor &color, |
196 const QColor &color); |
195 HbIconLoader::IconDataType type, |
197 |
196 HbIconLoader::Purpose, |
|
197 QVector<HbIconImpl *> & iconImplList, |
|
198 HbRenderingMode renderMode); |
|
199 |
|
200 void loadSvgIcon(HbIconLoadingParams ¶ms); |
198 void loadSvgIcon(HbIconLoadingParams ¶ms); |
201 void loadPictureIcon(HbIconLoadingParams ¶ms); |
199 void loadPictureIcon(HbIconLoadingParams ¶ms); |
202 void loadAnimatedIcon(HbIconLoadingParams ¶ms, const QString &format); |
200 void loadAnimatedIcon(HbIconLoadingParams ¶ms, const QString &format); |
203 void loadPixmapIcon(HbIconLoadingParams ¶ms, const QString &format); |
201 void loadPixmapIcon(HbIconLoadingParams ¶ms, const QString &format); |
|
202 void loadNvgIcon(HbIconLoadingParams ¶ms); |
204 |
203 |
205 QList< HbFrameDrawerPrivate *> frameDrawerInstanceList; |
204 QList< HbFrameDrawerPrivate *> frameDrawerInstanceList; |
206 QList< HbIconEngine *> iconEngineList; |
205 QList< HbIconEngine *> iconEngineList; |
207 |
206 |
208 static bool asyncCallback(const HbSharedIconInfo &info, void *param); |
207 static bool asyncCallback(const HbSharedIconInfo &info, void *param); |