application/src/PodcastQueueView.cpp
changeset 93 c2f1ea38ec70
parent 88 1cc7501102a8
child 100 eefed4bda2e2
equal deleted inserted replaced
92:70749e2f572d 93:c2f1ea38ec70
    67 	iPodcastModel.FeedEngine().AddObserver(this);
    67 	iPodcastModel.FeedEngine().AddObserver(this);
    68 	iPodcastModel.ShowEngine().AddObserver(this);
    68 	iPodcastModel.ShowEngine().AddObserver(this);
    69 	
    69 	
    70 
    70 
    71 	// no popup options apply to S^1
    71 	// no popup options apply to S^1
    72 #ifndef SYMBIAN1_UI
       
    73 	iStylusPopupMenu = CAknStylusPopUpMenu::NewL( this , TPoint(0,0));
    72 	iStylusPopupMenu = CAknStylusPopUpMenu::NewL( this , TPoint(0,0));
    74 	TResourceReader reader;
    73 	TResourceReader reader;
    75 	iCoeEnv->CreateResourceReaderLC(reader,R_QUEUEVIEW_POPUP_MENU);
    74 	iCoeEnv->CreateResourceReaderLC(reader,R_QUEUEVIEW_POPUP_MENU);
    76 	iStylusPopupMenu->ConstructFromResourceL(reader);
    75 	iStylusPopupMenu->ConstructFromResourceL(reader);
    77 	CleanupStack::PopAndDestroy();
    76 	CleanupStack::PopAndDestroy();
    78 #endif
    77 
    79 	SetEmptyTextL(R_PODCAST_EMPTY_QUEUE);
    78 	SetEmptyTextL(R_PODCAST_EMPTY_QUEUE);
    80 	}
    79 	}
    81 
    80 
    82 TKeyResponse CPodcastQueueView::OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType)
    81 TKeyResponse CPodcastQueueView::OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType)
    83 	{
    82 	{
   143 void CPodcastQueueView::HandleListBoxEventL(CEikListBox* /*aListBox*/,
   142 void CPodcastQueueView::HandleListBoxEventL(CEikListBox* /*aListBox*/,
   144 		TListBoxEvent aEventType)
   143 		TListBoxEvent aEventType)
   145 	{
   144 	{
   146 	switch (aEventType)
   145 	switch (aEventType)
   147 		{
   146 		{
   148 #ifndef SYMBIAN1_UI
       
   149 		case EEventItemClicked:
   147 		case EEventItemClicked:
   150 #endif
       
   151 		case EEventEnterKeyPressed:		
   148 		case EEventEnterKeyPressed:		
   152 		case EEventItemActioned:
   149 		case EEventItemActioned:
   153 		case EEventItemDoubleClicked:
   150 		case EEventItemDoubleClicked:
   154 			break;
   151 			break;
   155 		default:
   152 		default: