videoplayback/videoplaybackview/controlsrc/videoplaybackcontrolscontroller.cpp
changeset 62 0e1e938beb1a
parent 52 e3cecb93e76a
child 65 a9d57bd8d7b7
equal deleted inserted replaced
59:a76e86df7ccd 62:0e1e938beb1a
    13 *
    13 *
    14 * Description:  Implementation of VideoPlaybackControlsController
    14 * Description:  Implementation of VideoPlaybackControlsController
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: da1mmcf#50 %
    18 // Version : %version: da1mmcf#51 %
    19 
    19 
    20 
    20 
    21 
    21 
    22 // INCLUDE FILES
    22 // INCLUDE FILES
    23 #include <coecntrl.h>
    23 #include <coecntrl.h>
   434             MPX_DEBUG(_L("    [EControlCmdShowVolumeControls]"));
   434             MPX_DEBUG(_L("    [EControlCmdShowVolumeControls]"));
   435 
   435 
   436             showVolumeControls();
   436             showVolumeControls();
   437             break;
   437             break;
   438         }
   438         }
       
   439         case EControlCmdHandleBackgroundEvent:
       
   440         {
       
   441             MPX_DEBUG(_L("    [EControlCmdHandleBackgroundEvent]"));
       
   442 
       
   443             resetControls();
       
   444             break;
       
   445         }
   439     }
   446     }
   440 }
   447 }
   441 
   448 
   442 // -------------------------------------------------------------------------------------------------
   449 // -------------------------------------------------------------------------------------------------
   443 // VideoPlaybackControlsController::handleStateChange
   450 // VideoPlaybackControlsController::handleStateChange
  1582     }
  1589     }
  1583 
  1590 
  1584     return showRNLogo;
  1591     return showRNLogo;
  1585 }
  1592 }
  1586 
  1593 
       
  1594 // -------------------------------------------------------------------------------------------------
       
  1595 //   VideoPlaybackControlsController::resetControls()
       
  1596 // -------------------------------------------------------------------------------------------------
       
  1597 //
       
  1598 void VideoPlaybackControlsController::resetControls()
       
  1599 {
       
  1600     MPX_DEBUG(_L("VideoPlaybackControlsController::resetControls()"));
       
  1601 
       
  1602     for ( int i = 0 ; i < mControls.count() ; i++ )
       
  1603     {
       
  1604         mControls[i]->resetControl();
       
  1605     }
       
  1606 }
       
  1607 
  1587 // End of File
  1608 // End of File