mpxplugins/viewplugins/views/embeddedplaybackview/src/mpxembeddedplaybackviewimp.cpp
branchRCL_3
changeset 21 a1247965635c
parent 0 ff3acec5bc43
equal deleted inserted replaced
18:c54d95799c80 21:a1247965635c
   701         TInt data( *aMessage.Value<TInt>( KMPXMessageGeneralData ) );
   701         TInt data( *aMessage.Value<TInt>( KMPXMessageGeneralData ) );
   702         switch ( *aMessage.Value<TInt>( KMPXMessageGeneralEvent ) )
   702         switch ( *aMessage.Value<TInt>( KMPXMessageGeneralEvent ) )
   703             {
   703             {
   704             case TMPXPlaybackMessage::EStateChanged:
   704             case TMPXPlaybackMessage::EStateChanged:
   705                 UpdateMiddleSoftKeyDisplayL();
   705                 UpdateMiddleSoftKeyDisplayL();
   706                 UpdateToolbar();
   706                 UpdateToolbarL();
   707                 break;
   707                 break;
   708 
   708 
   709             default:
   709             default:
   710                 break;
   710                 break;
   711             }
   711             }
   721 void CMPXEmbeddedPlaybackViewImp::DynInitToolbarL(TInt aResourceId, CAknToolbar* aToolbar)
   721 void CMPXEmbeddedPlaybackViewImp::DynInitToolbarL(TInt aResourceId, CAknToolbar* aToolbar)
   722     {
   722     {
   723     if (aResourceId == R_MPX_PBV_TOUCH_TOOLBAR)
   723     if (aResourceId == R_MPX_PBV_TOUCH_TOOLBAR)
   724         {
   724         {
   725         // Put initializations here to take effect before toolbar is shown
   725         // Put initializations here to take effect before toolbar is shown
   726         UpdateToolbar();
   726         UpdateToolbarL();
   727         aToolbar->UpdateBackground();
   727         aToolbar->UpdateBackground();
   728         }
   728         }
   729     }
   729     }
   730 
   730 
   731 // -----------------------------------------------------------------------------
   731 // -----------------------------------------------------------------------------