videoplayerapp/videoplayerengine/tsrc/testvideoplayerengine/stub/src/videoserviceview.cpp
changeset 36 8aed59de29f9
child 44 518105d52e45
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/videoplayerapp/videoplayerengine/tsrc/testvideoplayerengine/stub/src/videoserviceview.cpp	Fri Apr 16 18:13:14 2010 +0300
@@ -0,0 +1,46 @@
+/*
+* 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:  stub impl for VideoServiceView
+*
+*/
+
+// Version : %version:  2 %
+
+
+#include "videoservices.h"
+#include "videoserviceview.h"
+#include "videoplayerengine.h"
+#include "mpxvideo_debug.h"
+
+
+VideoServiceView::VideoServiceView( VideoServices* parent, QVideoPlayerEngine* engine )
+{
+    MPX_DEBUG(_L("VideoServiceView::VideoServiceView()"));
+    
+    Q_UNUSED( engine );    
+	mServiceApp = parent;
+}
+
+VideoServiceView::~VideoServiceView()
+{
+    MPX_DEBUG(_L("VideoServiceView::~VideoServiceView()"));
+}
+
+void VideoServiceView::view( QString filePath )
+{
+    MPX_DEBUG(_L("VideoServiceView::view()"));
+    
+    Q_UNUSED( filePath );    
+   	mServiceApp->setCurrentService( VideoServices::EView );
+}