videoplayerapp/videoplayerengine/tsrc/testvideoplayerengine/stub/inc/videoplaybackwrapper.h
changeset 52 e3cecb93e76a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/videoplayerapp/videoplayerengine/tsrc/testvideoplayerengine/stub/inc/videoplaybackwrapper.h	Wed Aug 18 09:50:14 2010 +0300
@@ -0,0 +1,58 @@
+/*
+* 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 implementation of VideoPlaybackWrapper
+*
+*/
+
+// Version : %version: da1mmcf#9 %
+
+
+
+#ifndef VIDEOPLAYBACKWRAPPER_H_
+#define VIDEOPLAYBACKWRAPPER_H_
+
+#include <qobject>
+#include <qstring>
+#include <qfile>
+#include <f32file.h>
+
+#include <mpxhbvideocommondefs.h>
+
+class VideoPlaybackWrapper : public QObject
+{
+    Q_OBJECT
+
+    public:
+        VideoPlaybackWrapper();
+        virtual ~VideoPlaybackWrapper();
+        int playMedia( QString aFileName );
+        int playMedia( RFile aFile );
+        int replayMedia( QString aFileName );
+        int playURI( QString aUri );
+
+    public:
+        void openPlaybackView() ;
+        static int GetInstanceCount();
+        void lateInit();
+        const QString resloveErrorString( int errorCode );
+
+    signals:
+        void handlePlaybackView( int viewId );
+
+    private:
+        static void Increment();
+        static void Decrement();
+};
+
+#endif /* VIDEOPLAYBACKWRAPPER_H_ */