diff -r dec420019252 -r cf5481c2bc0b videoplayback/hbvideoplaybackview/tsrc/testuserinputhandler/stub/inc/mpxvideoviewwrapper.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/videoplayback/hbvideoplaybackview/tsrc/testuserinputhandler/stub/inc/mpxvideoviewwrapper.h Fri Apr 16 14:59:52 2010 +0300 @@ -0,0 +1,88 @@ +/* +* Copyright (c) 2008 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: MPX Video base playback view +* +*/ + +// Version : %version: 1 % + + + +// This file defines the API for .dll + +#ifndef __MPXVIDEOVIEWWRAPPER_H__ +#define __MPXVIDEOVIEWWRAPPER_H__ + +// Include Files + +#include // CBase +#include // TBuf + + +#include "mpxvideoplaybackcontrol.hrh" + +// Constants + +// Forward Declarations +class HbVideoBasePlaybackView; +class QMPXVideoPlaybackViewFileDetails; + + +// Class Definitions + +class CMPXVideoViewWrapper : public CBase +{ + public: + static CMPXVideoViewWrapper* NewL( HbVideoBasePlaybackView* aView ); + virtual ~CMPXVideoViewWrapper(); + + private: + CMPXVideoViewWrapper( HbVideoBasePlaybackView* aView ); + void ConstructL(); + + void SetFileDetails(TBool aDefault); + + public: + void HandleCommandL( TInt aCommand ); + + TBool IsLive(); + + TBool IsPlaylist(); + + TBool IsMultiItemPlaylist(); + + void RequestMediaL(); + + void CreateGeneralPlaybackCommandL( int aCmd ); + + void ActivateClosePlayerActiveObject(); + + void IssueVideoAppForegroundCmdL( TBool aForeground ); + + void UpdateVideoRectDone(); + + + public: // data + + HbVideoBasePlaybackView* iView; + TBool iMediaRequested; + QMPXVideoPlaybackViewFileDetails* iFileDetails; + TBool iClosePlayerAO; + TBool iForeground; + +}; + +#endif // __MPXVIDEOVIEWWRAPPER_H__ + +// EOF