videoplayerapp/videoplayerengine/tsrc/testvideoplayerengine/stub/src/videoserviceplay.cpp
changeset 30 4f111d64a341
child 17 69946d1824c4
--- /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 <videoservices.h>
+#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);
+}