videoplayback/videoplaybackcontrols/src/mpxvideoplaybackvolumebar.cpp
branchRCL_3
changeset 21 55fa1ec415c6
parent 16 7f2b2a65da29
child 23 8f0df5c82986
equal deleted inserted replaced
16:7f2b2a65da29 21:55fa1ec415c6
    13 *
    13 *
    14 * Description: Volume bar control
    14 * Description: Volume bar control
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: 21 %
    18 
       
    19 // Version : %version: 22 %
    19 
    20 
    20 
    21 
    21 // INCLUDE FILES
    22 // INCLUDE FILES
    22 #include <eikenv.h>
    23 #include <eikenv.h>
    23 #include <gulicon.h>
    24 #include <gulicon.h>
   773 //
   774 //
   774 void CMPXVideoPlaybackVolumeBar::HandlePointerEventL( const TPointerEvent& aPointerEvent )
   775 void CMPXVideoPlaybackVolumeBar::HandlePointerEventL( const TPointerEvent& aPointerEvent )
   775 {
   776 {
   776     MPX_ENTER_EXIT(_L("CMPXVideoPlaybackVolumeBar::HandlePointerEventL()"));
   777     MPX_ENTER_EXIT(_L("CMPXVideoPlaybackVolumeBar::HandlePointerEventL()"));
   777 
   778 
   778     //
   779     if ( iController->FileDetails()->iAudioEnabled )
   779     //  Block pointer events in the following cases:
       
   780     //  - If TV-Out is connected and the clip is DRM protected
       
   781     //
       
   782     if ( iController->IsTvOutPlaybackAllowed() && iController->FileDetails()->iAudioEnabled )
       
   783     {
   780     {
   784         //
   781         //
   785         //  Volume up
   782         //  Volume up
   786         //
   783         //
   787         if ( iDragging == EVolumeIncreaseDragging ||
   784         if ( iDragging == EVolumeIncreaseDragging ||