equal
deleted
inserted
replaced
223 } |
223 } |
224 else if(aPodcastModel && BaflUtils::FileExists(CEikonEnv::Static()->FsSession(), ImageFileName() )) |
224 else if(aPodcastModel && BaflUtils::FileExists(CEikonEnv::Static()->FsSession(), ImageFileName() )) |
225 { |
225 { |
226 // If this fails, no reason to worry |
226 // If this fails, no reason to worry |
227 iFeedIcon = new CFbsBitmap(); |
227 iFeedIcon = new CFbsBitmap(); |
228 TRAP_IGNORE(aPodcastModel->ImageHandler().LoadFileAndScaleL(FeedIcon(), ImageFileName(), TSize(44,44), *this, Uid())); |
228 TRAP_IGNORE(aPodcastModel->ImageHandler().LoadFileAndScaleL(FeedIcon(), ImageFileName(), TSize(128,128), *this, Uid())); |
229 } |
229 } |
230 DP("CFeedInfo::SetImageFileNameL END"); |
230 DP("CFeedInfo::SetImageFileNameL END"); |
231 } |
231 } |
232 |
232 |
233 EXPORT_C TBool CFeedInfo::CustomTitle() const |
233 EXPORT_C TBool CFeedInfo::CustomTitle() const |
277 cacheFileName.Append(KMbmExtension()); |
277 cacheFileName.Append(KMbmExtension()); |
278 iFeedIcon->Save(cacheFileName); |
278 iFeedIcon->Save(cacheFileName); |
279 aPodcastModel.FeedEngine().NotifyFeedUpdateComplete(this->iUid, KErrNone); |
279 aPodcastModel.FeedEngine().NotifyFeedUpdateComplete(this->iUid, KErrNone); |
280 } |
280 } |
281 } |
281 } |
|
282 |
|
283 |
|
284 EXPORT_C TInt CFeedInfo::FeedFileSize() const |
|
285 { |
|
286 return iFeedSize; |
|
287 } |
|
288 |
|
289 EXPORT_C void CFeedInfo::SetFeedFileSize(TInt aSize) |
|
290 { |
|
291 iFeedSize = aSize; |
|
292 } |
|
293 |