application/src/PodcastShowsView.cpp
branchsymbian1
changeset 166 58268495eb35
parent 164 000f9fc147b2
child 175 cd124c4eb6b9
child 288 757e84a30b9a
equal deleted inserted replaced
164:000f9fc147b2 166:58268495eb35
   295 	}
   295 	}
   296 
   296 
   297 void CPodcastShowsView::FeedDownloadFinishedL(TFeedState /*aState*/, TUint aFeedUid, TInt /*aError*/)
   297 void CPodcastShowsView::FeedDownloadFinishedL(TFeedState /*aState*/, TUint aFeedUid, TInt /*aError*/)
   298 	{
   298 	{
   299 	DP("CPodcastShowsView::FeedDownloadFinishedL BEGIN");
   299 	DP("CPodcastShowsView::FeedDownloadFinishedL BEGIN");
   300 	// TODO make use of the fact that we know that the feed download is
   300 	if (iListContainer->IsVisible() &&
   301 	// finished instead of checking feed engine states in UpdateFeedUpdateStateL.
   301 			iPodcastModel.ActiveFeedInfo() != NULL &&
   302 	if (iPodcastModel.ActiveFeedInfo() != NULL
   302 			iPodcastModel.ActiveFeedInfo()->Uid() == aFeedUid)
   303 			&& iPodcastModel.ActiveFeedInfo()->Uid() == aFeedUid)
       
   304 		{
   303 		{
   305 		UpdateFeedUpdateStateL();
   304 		UpdateFeedUpdateStateL();
   306 		UpdateViewTitleL();
   305 		UpdateViewTitleL();
   307 		}
   306 		}
   308 	DP("CPodcastShowsView::FeedDownloadFinishedL END");
   307 	DP("CPodcastShowsView::FeedDownloadFinishedL END");