diff -r dec420019252 -r cf5481c2bc0b videoplayback/hbvideoplaybackview/tsrc/teststatuspanecontrol/stub/inc/mpxvideoplaybackfullscreencontrol.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/videoplayback/hbvideoplaybackview/tsrc/teststatuspanecontrol/stub/inc/mpxvideoplaybackfullscreencontrol.h Fri Apr 16 14:59:52 2010 +0300 @@ -0,0 +1,83 @@ +/* +* Copyright (c) 2010 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: Implementation of QMPXVideoPlaybackFullScreenControl +* +*/ + +// Version : %version: 2 % + + + +#ifndef MPXVIDEOPLAYBACKFULLSCREENCONTROL_H_ +#define MPXVIDEOPLAYBACKFULLSCREENCONTROL_H_ + +#include + +#include +#include + +class HbWidget; +class QMPXVideoPlaybackViewFileDetails; +class QMPXVideoPlaybackControlsController; + +class QMPXVideoPlaybackFullScreenControl : public QObject +{ + Q_OBJECT + + public: + QMPXVideoPlaybackFullScreenControl( QMPXVideoPlaybackControlsController* controller, + TMPXVideoPlaybackControls index, + HbWidget* widget, + TUint controlproperties ); + + virtual ~QMPXVideoPlaybackFullScreenControl(); + + public: + + /** + * Set visibility of each control + */ + virtual void setVisibility( TMPXPlaybackState aState ); + + /** + * return control index + */ + TMPXVideoPlaybackControls controlIndex(); + + /** + * set changed state + */ + void updateState( TMPXPlaybackState state ); + + /* + * Update the controls with the file details + */ + virtual void updateControlsWithFileDetails( QMPXVideoPlaybackViewFileDetails *details ); + + virtual void setVisible( bool visible ); + + virtual bool isVisible(); + + virtual void updateControlProperties( TUint properties ); + + protected: + QMPXVideoPlaybackControlsController* mController; + HbWidget *mControl; + TMPXVideoPlaybackControls mControlIndex; + TUint mProperties; + bool mVisible; +}; + +#endif /*MPXVIDEOPLAYBACKFULLSCREENCONTROL_H_*/ +