diff -r dec420019252 -r 4f111d64a341 videoplayerapp/videoplayerengine/tsrc/testvideoplayerengine/stub/src/videoserviceplay.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/videoplayerapp/videoplayerengine/tsrc/testvideoplayerengine/stub/src/videoserviceplay.cpp Thu Apr 01 22:38:49 2010 +0300 @@ -0,0 +1,38 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Implementation of QVideoPlayerEngine +* +*/ + +// Version : %version: 1 % + + +#include +#include "videoserviceplay.h" +#include "videoplayerengine.h" + + +VideoServicePlay::VideoServicePlay( VideoServices* parent, QVideoPlayerEngine* engine ) +{ + mServiceApp = parent; +} + +VideoServicePlay::~VideoServicePlay() +{ +} + +void VideoServicePlay::playMedia( QString filePath ) +{ + mServiceApp->setCurrentService(VideoServices::EPlayback); +}