engine/src/PodcastModel.cpp
changeset 35 66c5303f3610
parent 8 aab3aa4acdd6
child 36 e010fc411ddc
equal deleted inserted replaced
30:7bca37ba5fa9 35:66c5303f3610
   406 	{
   406 	{
   407 	iActiveShowList.ResetAndDestroy();
   407 	iActiveShowList.ResetAndDestroy();
   408 	iShowEngine->GetShowsByFeedL(iActiveShowList, aFeedUid);
   408 	iShowEngine->GetShowsByFeedL(iActiveShowList, aFeedUid);
   409 	}
   409 	}
   410 
   410 
   411 EXPORT_C void CPodcastModel::MarkSelectionPlayed()
   411 EXPORT_C void CPodcastModel::MarkSelectionPlayedL()
   412 	{
   412 	{
   413 	for (int i=0;i<iActiveShowList.Count();i++) {
   413 	for (int i=0;i<iActiveShowList.Count();i++) {
   414 		if(iActiveShowList[i]->PlayState() != EPlayed) {
   414 		if(iActiveShowList[i]->PlayState() != EPlayed) {
   415 			iActiveShowList[i]->SetPlayState(EPlayed);
   415 			iActiveShowList[i]->SetPlayState(EPlayed);
   416 			iShowEngine->UpdateShow(*iActiveShowList[i]);
   416 			iShowEngine->UpdateShowL(*iActiveShowList[i]);
   417 		}
   417 		}
   418 	}
   418 	}
   419 	}
   419 	}
   420 
   420 
   421 TInt CPodcastModel::FindActiveShowByUid(TUint aUid)
   421 TInt CPodcastModel::FindActiveShowByUid(TUint aUid)