videoplayback/hbvideoplaybackview/tsrc/testmpxvideoplaybackcontrolbar/stub/src/mpxvideoplaybackbuttonbar.cpp
changeset 36 8aed59de29f9
parent 35 3738fe97f027
equal deleted inserted replaced
35:3738fe97f027 36:8aed59de29f9
    13 *
    13 *
    14 * Description:  Implementation of QMPXVideoPlaybackButtonBar
    14 * Description:  Implementation of QMPXVideoPlaybackButtonBar
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: 1 %
    18 // Version : %version: 2 %
    19 
    19 
    20 
    20 
    21 
    21 
    22 #include <hbpushbutton.h>
    22 #include <hbpushbutton.h>
    23 
    23 
    88     MPX_DEBUG(_L("QMPXVideoPlaybackButtonBar::updateWithFileDetails()"));
    88     MPX_DEBUG(_L("QMPXVideoPlaybackButtonBar::updateWithFileDetails()"));
    89 
    89 
    90     mFileDetails = details;
    90     mFileDetails = details;
    91 }
    91 }
    92 
    92 
       
    93 // -------------------------------------------------------------------------------------------------
       
    94 // QMPXVideoPlaybackButtonBar::durationChanged
       
    95 // -------------------------------------------------------------------------------------------------
       
    96 //
       
    97 void QMPXVideoPlaybackButtonBar::durationChanged( int duration )
       
    98 {
       
    99     MPX_DEBUG(_L("QMPXVideoPlaybackButtonBar::durationChanged duration = %d"), duration );
       
   100 
       
   101     mDuration = duration;
       
   102 }
       
   103 
       
   104 // -------------------------------------------------------------------------------------------------
       
   105 // QMPXVideoPlaybackButtonBar::positionChanged
       
   106 // -------------------------------------------------------------------------------------------------
       
   107 //
       
   108 void QMPXVideoPlaybackButtonBar::positionChanged( int position )
       
   109 {
       
   110     MPX_DEBUG(_L("QMPXVideoPlaybackButtonBar::positionChanged position = %d"), position );
       
   111 
       
   112     mPosition = position;
       
   113 }
       
   114 
    93 //End of file
   115 //End of file