application/src/PodcastFeedView.cpp
branchsymbian1
changeset 289 ba99740139d0
parent 268 4f37d00ca76e
child 296 80f1da5ac28b
equal deleted inserted replaced
288:757e84a30b9a 289:ba99740139d0
   878 	
   878 	
   879 	// if no shows in queue, we keep whichever state suspend is in
   879 	// if no shows in queue, we keep whichever state suspend is in
   880 	showsDownloading.ResetAndDestroy();
   880 	showsDownloading.ResetAndDestroy();
   881 	}
   881 	}
   882 
   882 
       
   883 void CPodcastFeedView::CheckConfirmExit()
       
   884 	{
       
   885 	RShowInfoArray showsDownloading;
       
   886 	iPodcastModel.ShowEngine().GetShowsDownloadingL(showsDownloading);
       
   887 
       
   888 	if (showsDownloading.Count() > 0 && !iPodcastModel.SettingsEngine().DownloadSuspended())
       
   889 		{
       
   890 		TBuf<256> msg;
       
   891 		iEikonEnv->ReadResourceL(msg, R_EXIT_SHOWS_DOWNLOADING);
       
   892 		
       
   893 		if (!ShowQueryMessageL(msg))
       
   894 			{
       
   895 			return;
       
   896 			}
       
   897 		}
       
   898 	
       
   899 	AppUi()->Exit();
       
   900 	}
       
   901 
   883 void CPodcastFeedView::OpmlParsingComplete(TInt aError, TUint aNumFeedsImported)
   902 void CPodcastFeedView::OpmlParsingComplete(TInt aError, TUint aNumFeedsImported)
   884 	{
   903 	{
   885 	TRAP_IGNORE(OpmlParsingCompleteL(aError, aNumFeedsImported));
   904 	TRAP_IGNORE(OpmlParsingCompleteL(aError, aNumFeedsImported));
   886 	}
   905 	}
   887 
   906