application/src/PodcastQueueView.cpp
changeset 54 c5cd47bc11ef
parent 50 e7b10d6d7ba3
child 62 c06c2a75bb57
equal deleted inserted replaced
53:21ffe6559297 54:c5cd47bc11ef
   124 	CleanupStack::Pop(icons); // icons
   124 	CleanupStack::Pop(icons); // icons
   125 	iListContainer->Listbox()->SetListBoxObserver(this);
   125 	iListContainer->Listbox()->SetListBoxObserver(this);
   126 	
   126 	
   127 	iPodcastModel.FeedEngine().AddObserver(this);
   127 	iPodcastModel.FeedEngine().AddObserver(this);
   128 	iPodcastModel.ShowEngine().AddObserver(this);
   128 	iPodcastModel.ShowEngine().AddObserver(this);
   129 	
   129 
       
   130 	// no popup options apply to S^1
       
   131 #ifndef SYMBIAN1_UI
   130 	iStylusPopupMenu = CAknStylusPopUpMenu::NewL( this , TPoint(0,0));
   132 	iStylusPopupMenu = CAknStylusPopUpMenu::NewL( this , TPoint(0,0));
   131 	TResourceReader reader;
   133 	TResourceReader reader;
   132 	iCoeEnv->CreateResourceReaderLC(reader,R_QUEUEVIEW_POPUP_MENU);
   134 	iCoeEnv->CreateResourceReaderLC(reader,R_QUEUEVIEW_POPUP_MENU);
   133 	iStylusPopupMenu->ConstructFromResourceL(reader);
   135 	iStylusPopupMenu->ConstructFromResourceL(reader);
   134 	CleanupStack::PopAndDestroy();
   136 	CleanupStack::PopAndDestroy();
       
   137 #endif
   135 	SetEmptyTextL(R_PODCAST_EMPTY_QUEUE);
   138 	SetEmptyTextL(R_PODCAST_EMPTY_QUEUE);
   136 	}
   139 	}
   137 
   140 
   138 TKeyResponse CPodcastQueueView::OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType)
   141 TKeyResponse CPodcastQueueView::OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType)
   139 	{
   142 	{