videoplayback/videoplaybackview/tsrc/testcontrolscontroller/stub/src/mpxvideoviewwrapper.cpp
changeset 66 adb51f74b890
parent 44 518105d52e45
equal deleted inserted replaced
63:4707a0db12f6 66:adb51f74b890
    13 *
    13 *
    14 * Description:   Implementation of Video wrapper
    14 * Description:   Implementation of Video wrapper
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version:  4 %
    18 // Version : %version:  5 %
    19 
    19 
    20 
    20 
    21 
    21 
    22 //  Include Files
    22 //  Include Files
    23 
    23 
    32 // -------------------------------------------------------------------------------------------------
    32 // -------------------------------------------------------------------------------------------------
    33 // CMPXVideoViewWrapper::CMPXVideoViewWrapper()
    33 // CMPXVideoViewWrapper::CMPXVideoViewWrapper()
    34 // -------------------------------------------------------------------------------------------------
    34 // -------------------------------------------------------------------------------------------------
    35 //
    35 //
    36 CMPXVideoViewWrapper::CMPXVideoViewWrapper( VideoBasePlaybackView* aView )
    36 CMPXVideoViewWrapper::CMPXVideoViewWrapper( VideoBasePlaybackView* aView )
    37     : mView( aView )    
    37     : mView( aView )
    38 {
    38 {
    39 }
    39 }
    40 
    40 
    41 // -------------------------------------------------------------------------------------------------
    41 // -------------------------------------------------------------------------------------------------
    42 // CMPXVideoViewWrapper::NewL()
    42 // CMPXVideoViewWrapper::NewL()
    58 //   CMPXVideoViewWrapper::ConstructL()
    58 //   CMPXVideoViewWrapper::ConstructL()
    59 // -------------------------------------------------------------------------------------------------
    59 // -------------------------------------------------------------------------------------------------
    60 //
    60 //
    61 void CMPXVideoViewWrapper::ConstructL()
    61 void CMPXVideoViewWrapper::ConstructL()
    62 {
    62 {
    63     mMediaRequested = EFalse;       
    63     mMediaRequested = EFalse;
    64 }
    64 }
    65 
    65 
    66 // -------------------------------------------------------------------------------------------------
    66 // -------------------------------------------------------------------------------------------------
    67 // CMPXVideoViewWrapper::~CMPXVideoViewWrapper()
    67 // CMPXVideoViewWrapper::~CMPXVideoViewWrapper()
    68 // -------------------------------------------------------------------------------------------------
    68 // -------------------------------------------------------------------------------------------------
    87 // -------------------------------------------------------------------------------------------------
    87 // -------------------------------------------------------------------------------------------------
    88 //
    88 //
    89 void CMPXVideoViewWrapper::SetPropertyL( TMPXPlaybackProperty aProperty, TInt aValue )
    89 void CMPXVideoViewWrapper::SetPropertyL( TMPXPlaybackProperty aProperty, TInt aValue )
    90 {
    90 {
    91     mProperty = aProperty;
    91     mProperty = aProperty;
    92     Q_UNUSED( aValue );    
    92     Q_UNUSED( aValue );
    93 }
    93 }
    94 
    94 
    95 // -------------------------------------------------------------------------------------------------
    95 // -------------------------------------------------------------------------------------------------
    96 //   CMPXVideoViewWrapper::UpdateVideoRect()
    96 //   CMPXVideoViewWrapper::UpdateVideoRect()
    97 // -------------------------------------------------------------------------------------------------
    97 // -------------------------------------------------------------------------------------------------
    98 //
    98 //
    99 void CMPXVideoViewWrapper::UpdateVideoRect( 
    99 void CMPXVideoViewWrapper::UpdateVideoRect(
   100         TInt aX, TInt aY, TInt aWidth, TInt aHeight, TBool transitionEffect )
   100         TInt aX, TInt aY, TInt aWidth, TInt aHeight, TBool transitionEffect )
   101 {
   101 {
   102     Q_UNUSED( aX );
   102     Q_UNUSED( aX );
   103     Q_UNUSED( aY );
   103     Q_UNUSED( aY );
   104     Q_UNUSED( aWidth );    
   104     Q_UNUSED( aWidth );
   105     Q_UNUSED( aHeight );
   105     Q_UNUSED( aHeight );
   106     Q_UNUSED( transitionEffect );    
   106     Q_UNUSED( transitionEffect );
   107 }
   107 }
   108 
       
   109 
   108 
   110 // -------------------------------------------------------------------------------------------------
   109 // -------------------------------------------------------------------------------------------------
   111 //   CMPXVideoViewWrapper::IsResumingPlaybackAfterTermination()
   110 //   CMPXVideoViewWrapper::IsResumingPlaybackAfterTermination()
   112 // -------------------------------------------------------------------------------------------------
   111 // -------------------------------------------------------------------------------------------------
   113 //
   112 //
   114 TBool CMPXVideoViewWrapper::IsResumingPlaybackAfterTermination()
   113 TBool CMPXVideoViewWrapper::IsResumingPlaybackAfterTermination()
   115 {
   114 {
   116     return false;   
   115     return false;
   117 }
   116 }
   118 
   117 
   119 
   118 // -------------------------------------------------------------------------------------------------
       
   119 //   CMPXVideoViewWrapper::VolumeSteps()
       
   120 // -------------------------------------------------------------------------------------------------
       
   121 //
       
   122 TInt CMPXVideoViewWrapper::VolumeSteps()
       
   123 {
       
   124     return mVolumeSteps;
       
   125 }
   120 
   126 
   121 // EOF
   127 // EOF