equal
deleted
inserted
replaced
232 } |
232 } |
233 } |
233 } |
234 |
234 |
235 void CPodcastQueueView::ShowDownloadFinishedL(TUint /*aShowUid*/, TInt aError) |
235 void CPodcastQueueView::ShowDownloadFinishedL(TUint /*aShowUid*/, TInt aError) |
236 { |
236 { |
237 iProgressAdded = EFalse; |
237 if (iListContainer->IsVisible()) |
238 |
238 { |
239 iPodcastModel.GetShowsDownloadingL(); |
239 |
240 UpdateListboxItemsL(); |
240 iProgressAdded = EFalse; |
241 UpdateToolbar(); |
241 |
242 |
242 iPodcastModel.GetShowsDownloadingL(); |
243 switch(aError) |
243 UpdateListboxItemsL(); |
244 { |
244 UpdateToolbar(); |
245 case KErrCouldNotConnect: |
245 |
246 { |
246 switch(aError) |
247 TBuf<KMaxMessageLength> message; |
247 { |
248 iEikonEnv->ReadResourceL(message, R_PODCAST_CONNECTION_ERROR); |
248 case KErrCouldNotConnect: |
249 ShowErrorMessage(message); |
249 { |
250 } |
250 TBuf<KMaxMessageLength> message; |
251 break; |
251 iEikonEnv->ReadResourceL(message, R_PODCAST_CONNECTION_ERROR); |
252 default: // Do nothing |
252 ShowErrorMessage(message); |
253 break; |
253 } |
|
254 break; |
|
255 default: // Do nothing |
|
256 break; |
|
257 } |
254 } |
258 } |
255 } |
259 } |
256 |
260 |
257 |
261 |
258 void CPodcastQueueView::FeedDownloadStartedL(TFeedState /*aState*/, TUint aFeedUid) |
262 void CPodcastQueueView::FeedDownloadStartedL(TFeedState /*aState*/, TUint aFeedUid) |