376 TUint32 iapId = 0; |
376 TUint32 iapId = 0; |
377 iConnectionEngine->Connection().GetIntSetting(KSetting, iapId); |
377 iConnectionEngine->Connection().GetIntSetting(KSetting, iapId); |
378 return iapId; |
378 return iapId; |
379 } |
379 } |
380 |
380 |
381 EXPORT_C void CPodcastModel::GetAllShows() |
381 EXPORT_C void CPodcastModel::GetAllShowsL() |
382 { |
382 { |
383 iActiveShowList.ResetAndDestroy(); |
383 iActiveShowList.ResetAndDestroy(); |
384 TRAP_IGNORE(iShowEngine->GetAllShowsL(iActiveShowList)); |
384 iShowEngine->GetAllShowsL(iActiveShowList); |
385 } |
385 } |
386 |
386 |
387 EXPORT_C void CPodcastModel::GetNewShows() |
387 EXPORT_C void CPodcastModel::GetNewShowsL() |
388 { |
388 { |
389 iActiveShowList.ResetAndDestroy(); |
389 iActiveShowList.ResetAndDestroy(); |
390 TRAP_IGNORE(iShowEngine->GetNewShowsL(iActiveShowList)); |
390 iShowEngine->GetNewShowsL(iActiveShowList); |
391 } |
391 } |
392 |
392 |
393 EXPORT_C void CPodcastModel::GetShowsDownloaded() |
393 EXPORT_C void CPodcastModel::GetShowsDownloadedL() |
394 { |
394 { |
395 iActiveShowList.ResetAndDestroy(); |
395 iActiveShowList.ResetAndDestroy(); |
396 TRAP_IGNORE(iShowEngine->GetShowsDownloadedL(iActiveShowList)); |
396 iShowEngine->GetShowsDownloadedL(iActiveShowList); |
397 } |
397 } |
398 |
398 |
399 EXPORT_C void CPodcastModel::GetShowsDownloading() |
399 EXPORT_C void CPodcastModel::GetShowsDownloadingL() |
400 { |
400 { |
401 iActiveShowList.ResetAndDestroy(); |
401 iActiveShowList.ResetAndDestroy(); |
402 TRAP_IGNORE(iShowEngine->GetShowsDownloadingL(iActiveShowList)); |
402 iShowEngine->GetShowsDownloadingL(iActiveShowList); |
403 } |
403 } |
404 |
404 |
405 EXPORT_C void CPodcastModel::GetShowsByFeed(TUint aFeedUid) |
405 EXPORT_C void CPodcastModel::GetShowsByFeedL(TUint aFeedUid) |
406 { |
406 { |
407 iActiveShowList.ResetAndDestroy(); |
407 iActiveShowList.ResetAndDestroy(); |
408 TRAP_IGNORE(iShowEngine->GetShowsByFeedL(iActiveShowList, aFeedUid)); |
408 iShowEngine->GetShowsByFeedL(iActiveShowList, aFeedUid); |
409 } |
409 } |
410 |
410 |
411 EXPORT_C void CPodcastModel::MarkSelectionPlayed() |
411 EXPORT_C void CPodcastModel::MarkSelectionPlayed() |
412 { |
412 { |
413 for (int i=0;i<iActiveShowList.Count();i++) { |
413 for (int i=0;i<iActiveShowList.Count();i++) { |