videoplayerapp/videoplayerengine/tsrc/testvideoplayerengine/stub/src/videoserviceplay.cpp
changeset 15 cf5481c2bc0b
child 17 69946d1824c4
equal deleted inserted replaced
2:dec420019252 15:cf5481c2bc0b
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Implementation of QVideoPlayerEngine
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version: 1 %
       
    19 
       
    20 
       
    21 #include <videoservices.h>
       
    22 #include "videoserviceplay.h"
       
    23 #include "videoplayerengine.h"
       
    24 
       
    25 
       
    26 VideoServicePlay::VideoServicePlay( VideoServices* parent, QVideoPlayerEngine* engine )
       
    27 {
       
    28 	mServiceApp = parent;
       
    29 }
       
    30 
       
    31 VideoServicePlay::~VideoServicePlay()
       
    32 {
       
    33 }
       
    34 
       
    35 void VideoServicePlay::playMedia( QString filePath )
       
    36 {
       
    37    	mServiceApp->setCurrentService(VideoServices::EPlayback);
       
    38 }