videoplayback/hbvideoplaybackview/tsrc/testmpxvideoplaybackcontrolbar/stub/inc/mpxvideoplaybacktoolbar.h
changeset 37 4eb2df7f7cbe
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/videoplayback/hbvideoplaybackview/tsrc/testmpxvideoplaybackcontrolbar/stub/inc/mpxvideoplaybacktoolbar.h	Fri Apr 30 09:52:11 2010 +0300
@@ -0,0 +1,59 @@
+/*
+* 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 QMPXVideoPlaybackToolBar
+*
+*/
+
+// Version : %version:  1 %
+
+
+
+#ifndef MPXVIDEOPLAYBACKTOOLBAR_H_
+#define MPXVIDEOPLAYBACKTOOLBAR_H_
+
+#include <QWidget>
+#include <mpxplaybackframeworkdefs.h>
+
+
+
+class QMPXVideoPlaybackViewFileDetails;
+class QMPXVideoPlaybackControlsController;
+
+
+class QMPXVideoPlaybackToolBar : public QWidget
+{
+    Q_OBJECT
+
+    public:
+        QMPXVideoPlaybackToolBar( QMPXVideoPlaybackControlsController* controller );
+        virtual ~QMPXVideoPlaybackToolBar();
+        void updateState( TMPXPlaybackState state );
+        void aspectRatioChanged( int aspectRatio );
+        void initialize();
+        void updateWithFileDetails( QMPXVideoPlaybackViewFileDetails* details );
+        void durationChanged( int duration );
+        void positionChanged( int position );
+        void setVisible( bool visible );
+
+    public:
+        QMPXVideoPlaybackControlsController *mController;
+        QMPXVideoPlaybackViewFileDetails *mFileDetails;
+        int mAspectRatio;
+        int mPosition;
+        int mDuration;
+        bool mVisible;
+        TMPXPlaybackState mState;
+};
+
+#endif /*MPXVIDEOPLAYBACKTOOLBAR_H_*/