videoplayback/videoplaybackcontrols/src/mpxvideoplaybackcontrol.cpp
branchRCL_3
changeset 14 8970fbd719ec
parent 6 7d91903f795f
child 16 7f2b2a65da29
equal deleted inserted replaced
13:112a725ff2c2 14:8970fbd719ec
    13 *
    13 *
    14 * Description:  Implementation of CMPXVideoPlaybackControl
    14 * Description:  Implementation of CMPXVideoPlaybackControl
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: 19 %
    18 // Version : %version: e003sa33#20 %
    19 
    19 
    20 
    20 
    21 // INCLUDE FILES
    21 // INCLUDE FILES
    22 #include <avkon.hrh>
    22 #include <avkon.hrh>
    23 #include <e32std.h>
    23 #include <e32std.h>
   560 //
   560 //
   561 void CMPXVideoPlaybackControl::ResetControl()
   561 void CMPXVideoPlaybackControl::ResetControl()
   562 {
   562 {
   563     MPX_DEBUG(_L("CMPXVideoPlaybackControlsController::ResetControl()"));
   563     MPX_DEBUG(_L("CMPXVideoPlaybackControlsController::ResetControl()"));
   564 
   564 
       
   565     iControl->SetPointerCapture( EFalse );
       
   566     iControl->ClaimPointerGrab( EFalse );
       
   567     
   565     switch( iControlIndex )
   568     switch( iControlIndex )
   566     {
   569     {
   567         case EMPXButtonBar:
   570         case EMPXButtonBar:
   568         {
   571         {
   569             static_cast<CMPXVideoPlaybackButtonBar*>(iControl)->Reset();
   572             static_cast<CMPXVideoPlaybackButtonBar*>(iControl)->Reset();