videoplayerapp/videoplayerengine/tsrc/testvideoplayerengine/stub/src/videoserviceplay.cpp
changeset 36 8aed59de29f9
parent 30 4f111d64a341
child 44 518105d52e45
equal deleted inserted replaced
35:3738fe97f027 36:8aed59de29f9
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:  Implementation of QVideoPlayerEngine
    14 * Description:  Implementation of VideoServicePlay
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: 1 %
    18 // Version : %version: da1mmcf#2 %
    19 
    19 
    20 
    20 
    21 #include <videoservices.h>
    21 #include "videoservices.h"
    22 #include "videoserviceplay.h"
    22 #include "videoserviceplay.h"
    23 #include "videoplayerengine.h"
    23 #include "videoplayerengine.h"
       
    24 #include "mpxvideo_debug.h"
    24 
    25 
    25 
    26 
    26 VideoServicePlay::VideoServicePlay( VideoServices* parent, QVideoPlayerEngine* engine )
    27 VideoServicePlay::VideoServicePlay( VideoServices* parent, QVideoPlayerEngine* engine )
    27 {
    28 {
       
    29     MPX_DEBUG(_L("VideoServicePlay::VideoServicePlay()")); 
       
    30     
       
    31     Q_UNUSED( engine );    
    28 	mServiceApp = parent;
    32 	mServiceApp = parent;
    29 }
    33 }
    30 
    34 
    31 VideoServicePlay::~VideoServicePlay()
    35 VideoServicePlay::~VideoServicePlay()
    32 {
    36 {
       
    37     MPX_DEBUG(_L("VideoServicePlay::~VideoServicePlay()")); 
    33 }
    38 }
    34 
    39 
    35 void VideoServicePlay::playMedia( QString filePath )
    40 void VideoServicePlay::playMedia( QString filePath )
    36 {
    41 {
    37    	mServiceApp->setCurrentService(VideoServices::EPlayback);
    42     MPX_DEBUG(_L("VideoServicePlay::playMedia()")); 
       
    43     
       
    44     Q_UNUSED( filePath );    
       
    45     mServiceApp->setCurrentService( VideoServices::EPlayback );
    38 }
    46 }