application/src/PodcastFeedView.cpp
branchRCL_3
changeset 292 655dbce90b70
parent 272 e6d095ba6756
child 297 d3cc41f88e82
equal deleted inserted replaced
291:2f62fe179bbb 292:655dbce90b70
   871 	
   871 	
   872 	// if no shows in queue, we keep whichever state suspend is in
   872 	// if no shows in queue, we keep whichever state suspend is in
   873 	showsDownloading.ResetAndDestroy();
   873 	showsDownloading.ResetAndDestroy();
   874 	}
   874 	}
   875 
   875 
       
   876 void CPodcastFeedView::CheckConfirmExit()
       
   877 	{
       
   878 	RShowInfoArray showsDownloading;
       
   879 	iPodcastModel.ShowEngine().GetShowsDownloadingL(showsDownloading);
       
   880 
       
   881 	if (showsDownloading.Count() > 0 && !iPodcastModel.SettingsEngine().DownloadSuspended())
       
   882 		{
       
   883 		TBuf<256> msg;
       
   884 		iEikonEnv->ReadResourceL(msg, R_EXIT_SHOWS_DOWNLOADING);
       
   885 		
       
   886 		if (!ShowQueryMessageL(msg))
       
   887 			{
       
   888 			return;
       
   889 			}
       
   890 		}
       
   891 	
       
   892 	AppUi()->Exit();
       
   893 	}
       
   894 
   876 void CPodcastFeedView::OpmlParsingComplete(TInt aError, TUint aNumFeedsImported)
   895 void CPodcastFeedView::OpmlParsingComplete(TInt aError, TUint aNumFeedsImported)
   877 	{
   896 	{
   878 	TRAP_IGNORE(OpmlParsingCompleteL(aError, aNumFeedsImported));
   897 	TRAP_IGNORE(OpmlParsingCompleteL(aError, aNumFeedsImported));
   879 	}
   898 	}
   880 
   899