mmsharing/mmshui/src/musuilivesharingviewcontainer.cpp
branchRCL_3
changeset 41 755f0370535b
parent 33 bc78a40cd63c
equal deleted inserted replaced
38:ac48f0cc9f9c 41:755f0370535b
   196               aKeyEvent.iCode );
   196               aKeyEvent.iCode );
   197     MUS_LOG1( "mus: [MUSUI ]  -> CMusUiLiveSharingViewContainer::OfferKeyEventL: %d",
   197     MUS_LOG1( "mus: [MUSUI ]  -> CMusUiLiveSharingViewContainer::OfferKeyEventL: %d",
   198               aKeyEvent.iScanCode );
   198               aKeyEvent.iScanCode );
   199             
   199             
   200     TKeyResponse ret( EKeyWasNotConsumed );
   200     TKeyResponse ret( EKeyWasNotConsumed );
   201 
   201     
   202     if ( MUS_NO_TOOLBAR )
   202     if ( IsVisible() )
   203         {
   203     	{
       
   204 		return ret;
       
   205 		}
       
   206 
       
   207 
   204         CMusUiLiveSharingView* view = 
   208         CMusUiLiveSharingView* view = 
   205             static_cast< CMusUiLiveSharingView* >( MusUiView() );      
   209             static_cast< CMusUiLiveSharingView* >( MusUiView() );      
   206         switch ( aKeyEvent.iCode )
   210         switch ( aKeyEvent.iCode )
   207             {
   211             {
   208             case EKeyLeftArrow:
   212             case EKeyLeftArrow:
   229                 ret = EKeyWasConsumed;
   233                 ret = EKeyWasConsumed;
   230                 break;
   234                 break;
   231                 }
   235                 }
   232             default:
   236             default:
   233                 break;
   237                 break;
   234             }
       
   235         }
   238         }
   236 
   239 
   237     MUS_LOG( "mus: [MUSUI ]  <- CMusUiLiveSharingViewContainer::OfferKeyEventL" );
   240     MUS_LOG( "mus: [MUSUI ]  <- CMusUiLiveSharingViewContainer::OfferKeyEventL" );
   238     return ret;
   241     return ret;
   239     }
   242     }