application/src/PodcastShowsView.cpp
branchSymbian3
changeset 42 a38f3fcec239
parent 41 56821195bd44
child 50 e7b10d6d7ba3
equal deleted inserted replaced
37:1644b7cd063e 42:a38f3fcec239
   324 				DP2("Handle event for podcast %S, downloadState is %d", &(fItems[index]->Title()), fItems[index]->DownloadState());
   324 				DP2("Handle event for podcast %S, downloadState is %d", &(fItems[index]->Title()), fItems[index]->DownloadState());
   325 				CShowInfo *showInfo = fItems[index];
   325 				CShowInfo *showInfo = fItems[index];
   326 				
   326 				
   327 				switch (showInfo->DownloadState()) {
   327 				switch (showInfo->DownloadState()) {
   328 				case ENotDownloaded:
   328 				case ENotDownloaded:
       
   329 				case EFailedDownload:
   329 					HandleCommandL(EPodcastDownloadShow);
   330 					HandleCommandL(EPodcastDownloadShow);
   330 					break;
   331 					break;
       
   332 				case EDownloading:
   331 				case EQueued:
   333 				case EQueued:
   332 					AppUi()->ActivateLocalViewL(KUidPodcastQueueViewID,  TUid::Uid(0), KNullDesC8());
   334 					AppUi()->ActivateLocalViewL(KUidPodcastQueueViewID,  TUid::Uid(0), KNullDesC8());
   333 					((CPodcastAppUi*)AppUi())->SetActiveTab(KTabIdQueue);
   335 					((CPodcastAppUi*)AppUi())->SetActiveTab(KTabIdQueue);
   334 					break;
   336 					break;
   335 				case EDownloaded:
   337 				case EDownloaded: