diff -r 17f382c040b1 -r 518105d52e45 videoplayback/videoplaybackview/tsrc/testuserinputhandler/stub/inc/videobaseplaybackview.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/videoplayback/videoplaybackview/tsrc/testuserinputhandler/stub/inc/videobaseplaybackview.h Thu Jul 08 13:05:19 2010 +0300 @@ -0,0 +1,91 @@ +/* +* 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: Video playback view +* +*/ + +// Version : %version: 2 % + + + +// This file defines the API for .dll + +#ifndef __VIDEOBASEPLAYBACKVIEW_H__ +#define __VIDEOBASEPLAYBACKVIEW_H__ + +// Include Files +#include + +class CMPXVideoViewWrapper; +class RWindow; + +// Constants + +// Forward Declarations + +// Class Definitions + +class VideoBasePlaybackView : public HbView +{ + Q_OBJECT + + public: + VideoBasePlaybackView(); + virtual ~VideoBasePlaybackView(); + + void handleActivateView(); + + void handleDeactivateView(); + + void mousePressEvent( QGraphicsSceneMouseEvent *event ); + + QVariant itemChange( GraphicsItemChange change, const QVariant &value ); + + void paint( QPainter *painter, + const QStyleOptionGraphicsItem *option, + QWidget *widget ); + + bool event( QEvent *event ); + + virtual void handleClosePlaybackView(); + + virtual void handleBufferingState(); + + virtual void issuePlayCommand(); + + virtual void handlePluginError( int aError ); + + virtual void retrievePdlInformation(); + + virtual void closePlaybackView(); + + void startClosingPlaybackView(); + + RWindow *getWindow(); + + virtual void doClosePlayer(); + + public: + int mCurrentError; // default = KErrNone + bool mViewActive; + + + public: + friend class CMPXVideoViewWrapper; + +}; + +#endif // __VIDEOBASEPLAYBACKVIEW_H__ + +// EOF