videoplayback/videoplaybackcontrols/tsrc/videoplaybackcontrols_test/src/mpxvpbuih_stub.cpp
branchRCL_3
changeset 6 7d91903f795f
parent 0 96612d01cf9f
child 54 315810614048
equal deleted inserted replaced
2:dec420019252 6:7d91903f795f
    13 *
    13 *
    14 * Description:  Implementation of playback view's input handler
    14 * Description:  Implementation of playback view's input handler
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: ou1cpsw#6 %
    18 // Version : %version: 7 %
    19 
    19 
    20 
    20 
    21 
    21 
    22 // INCLUDE FILES
    22 // INCLUDE FILES
    23 #include <w32std.h> // RWindowBase
    23 #include <w32std.h> // RWindowBase
    58 // -------------------------------------------------------------------------------------------------
    58 // -------------------------------------------------------------------------------------------------
    59 // CMPXVideoPlaybackUserInputHandler::NewL()
    59 // CMPXVideoPlaybackUserInputHandler::NewL()
    60 // -------------------------------------------------------------------------------------------------
    60 // -------------------------------------------------------------------------------------------------
    61 //
    61 //
    62 CMPXVideoPlaybackUserInputHandler* CMPXVideoPlaybackUserInputHandler::NewL(
    62 CMPXVideoPlaybackUserInputHandler* CMPXVideoPlaybackUserInputHandler::NewL(
    63 																												CMPXVideoPlaybackContainer* aContainer)
    63         CMPXVideoPlaybackContainer* aContainer)
    64 {
    64 {
    65     MPX_DEBUG(_L("CMPXVideoPlaybackUserInputHandler::NewL()"));
    65     MPX_DEBUG(_L("CMPXVideoPlaybackUserInputHandler::NewL()"));
    66 
    66 
    67     CMPXVideoPlaybackUserInputHandler* self = new (ELeave) CMPXVideoPlaybackUserInputHandler( aContainer );
    67     CMPXVideoPlaybackUserInputHandler* self = new (ELeave) CMPXVideoPlaybackUserInputHandler( aContainer );
    68     CleanupStack::PushL( self );
    68     CleanupStack::PushL( self );
    98 void CMPXVideoPlaybackUserInputHandler::ProcessPointerEventL( CCoeControl* aControl,
    98 void CMPXVideoPlaybackUserInputHandler::ProcessPointerEventL( CCoeControl* aControl,
    99                                                               const TPointerEvent& aPointerEvent,
    99                                                               const TPointerEvent& aPointerEvent,
   100                                                               TMPXVideoControlType /*aMPXControl*/ )
   100                                                               TMPXVideoControlType /*aMPXControl*/ )
   101 {
   101 {
   102     MPX_DEBUG(_L("CMPXVideoPlaybackUserInputHandler::ProcessPointerEvent"));
   102     MPX_DEBUG(_L("CMPXVideoPlaybackUserInputHandler::ProcessPointerEvent"));
       
   103 
       
   104     MPX_DEBUG(_L("   iType = %d, iPosition = (%d,%d)"), 
       
   105        aPointerEvent.iType, aPointerEvent.iPosition.iX, aPointerEvent.iPosition.iY );
   103 
   106 
   104     switch (iProcessingInputType)
   107     switch (iProcessingInputType)
   105     {
   108     {
   106         case EMpxVideoNone:
   109         case EMpxVideoNone:
   107         {
   110         {