diff -r 702ba9ffe210 -r d7abecc9d189 engine/src/PodcastModel.cpp --- a/engine/src/PodcastModel.cpp Sat Nov 13 15:05:16 2010 +0000 +++ b/engine/src/PodcastModel.cpp Mon Nov 22 15:41:41 2010 +0000 @@ -228,8 +228,7 @@ if (err == KErrNone) { - aPodcast->SetPlayState(EPlayed); - iShowEngine->UpdateShowL(*aPodcast); + iShowEngine->PostPlayHandling(aPodcast); } else { @@ -457,12 +456,17 @@ iShowEngine->GetShowsByFeedL(iActiveShowList, aFeedUid); } +EXPORT_C void CPodcastModel::GetNewShowsL() + { + iActiveShowList.ResetAndDestroy(); + iShowEngine->GetNewShowsL(iActiveShowList); + } + EXPORT_C void CPodcastModel::MarkSelectionPlayedL() { for (int i=0;iPlayState() != EPlayed) { - iActiveShowList[i]->SetPlayState(EPlayed); - iShowEngine->UpdateShowL(*iActiveShowList[i]); + ShowEngine().PostPlayHandling(iActiveShowList[i]); } } }