diff -r 45e72b57a2fd -r e3cecb93e76a videoplayerapp/videoplayerengine/tsrc/testvideoplayerengine/stub/inc/videoplaybackwrapper.h --- /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 +#include +#include +#include + +#include + +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_ */