videoplayback/videohelix/src/mpxvideoplaybackstate.cpp
branchRCL_3
changeset 70 375929f879c2
parent 54 315810614048
equal deleted inserted replaced
64:3eb824b18d67 70:375929f879c2
    14 * Description:  This class plays local video file
    14 * Description:  This class plays local video file
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 // Version : %version: 48 %
    19 // Version : %version: 46.1.1 %
    20 
    20 
    21 
    21 
    22 //
    22 //
    23 //  INCLUDE FILES
    23 //  INCLUDE FILES
    24 //
    24 //
   241 
   241 
   242     iVideoPlaybackCtlr->ChangeState( EMPXVideoStopped );
   242     iVideoPlaybackCtlr->ChangeState( EMPXVideoStopped );
   243 
   243 
   244     if ( aError == KErrNone )
   244     if ( aError == KErrNone )
   245     {
   245     {
       
   246 
   246         iVideoPlaybackCtlr->iMPXPluginObs->HandlePluginEvent(
   247         iVideoPlaybackCtlr->iMPXPluginObs->HandlePluginEvent(
   247             MMPXPlaybackPluginObserver::EPPlayComplete,
   248             MMPXPlaybackPluginObserver::EPPlayComplete,
   248             0,
   249             0,
   249             aError );
   250             aError );
   250     }
   251     }
  1271 //  ------------------------------------------------------------------------------------------------
  1272 //  ------------------------------------------------------------------------------------------------
  1272 void CMPXInitialisedState::HandleForeground()
  1273 void CMPXInitialisedState::HandleForeground()
  1273 {
  1274 {
  1274     MPX_ENTER_EXIT(_L("CMPXInitialisedState::HandleForeground()"));
  1275     MPX_ENTER_EXIT(_L("CMPXInitialisedState::HandleForeground()"));
  1275     CommandHandleForeground();
  1276     CommandHandleForeground();
  1276 }
       
  1277 
       
  1278 //  ------------------------------------------------------------------------------------------------
       
  1279 //  CMPXInitialisedState::HandlePause()
       
  1280 //  ------------------------------------------------------------------------------------------------
       
  1281 void CMPXInitialisedState::HandlePause()
       
  1282 {
       
  1283     MPX_ENTER_EXIT(_L("CMPXInitialisedState::HandlePause()"));
       
  1284 
       
  1285     iVideoPlaybackCtlr->iPlaybackMode->HandlePause();
       
  1286 }
  1277 }
  1287 
  1278 
  1288 // *************************************************************************************************
  1279 // *************************************************************************************************
  1289 //
  1280 //
  1290 //                          CMPXPlayingState
  1281 //                          CMPXPlayingState