application/src/PodcastFeedView.cpp
branchnewlist
changeset 355 075b3a49cb55
parent 349 4538abb763e4
child 385 f372a154ba57
equal deleted inserted replaced
354:a2713e6a41a9 355:075b3a49cb55
   117 	DP("CPodcastFeedView::ConstructL END");
   117 	DP("CPodcastFeedView::ConstructL END");
   118 	}
   118 	}
   119     
   119     
   120 CPodcastFeedView::~CPodcastFeedView()
   120 CPodcastFeedView::~CPodcastFeedView()
   121     {
   121     {
       
   122 	DP("CPodcastFeedView::~CPodcastFeedView BEGIN");
   122 	iPodcastModel.FeedEngine().RemoveObserver(this);
   123 	iPodcastModel.FeedEngine().RemoveObserver(this);
   123 	delete iFeedsFormat;
   124 	delete iFeedsFormat;
   124 	delete iNeverUpdated;
   125 	delete iNeverUpdated;
   125 	delete iStylusPopupMenu;
   126 	delete iStylusPopupMenu;
   126 	delete iUpdater;
   127 	delete iUpdater;
   127 	iFeedIdForIconArray.Close();
   128 	iFeedIdForIconArray.Close();
       
   129 	DP("CPodcastFeedView::~CPodcastFeedView END");
   128     }
   130     }
   129 
   131 
   130 void CPodcastFeedView::UpdateItemL(TInt aIndex)
   132 void CPodcastFeedView::UpdateItemL(TInt aIndex)
   131 	{
   133 	{
   132 	__ASSERT_DEBUG(iListContainer->IsVisible(), Panic(EPodcatcherPanicFeedView));
   134 	__ASSERT_DEBUG(iListContainer->IsVisible(), Panic(EPodcatcherPanicFeedView));
   635 	}
   637 	}
   636 
   638 
   637 void CPodcastFeedView::ShowItem(TUint aUid)
   639 void CPodcastFeedView::ShowItem(TUint aUid)
   638 	{
   640 	{
   639 	TInt listIndex = -1;
   641 	TInt listIndex = -1;
   640 	for (TUint i=0;i<iItemIdArray.Count();i++)
   642 	for (TInt i=0;i<iItemIdArray.Count();i++)
   641 		{
   643 		{
   642 		if (iItemIdArray[i] == aUid)
   644 		if (iItemIdArray[i] == aUid)
   643 			{
   645 			{
   644 			listIndex = i;
   646 			listIndex = i;
   645 			}
   647 			}