--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/videoplayback/videoplaybackview/controlinc/videoplaybackcontrolbar.h Thu Jul 08 13:05:19 2010 +0300
@@ -0,0 +1,55 @@
+/*
+* 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 VideoPlaybackControlBar
+*
+*/
+
+// Version : %version: 4 %
+
+
+
+#ifndef VIDEOPLAYBACKCONTROLBAR_H_
+#define VIDEOPLAYBACKCONTROLBAR_H_
+
+
+#include <hbwidget.h>
+#include <mpxplaybackframeworkdefs.h>
+
+class VideoPlaybackToolBar;
+class VideoPlaybackProgressBar;
+class VideoPlaybackViewFileDetails;
+class VideoPlaybackControlsController;
+
+class VideoPlaybackControlBar : public HbWidget
+{
+ Q_OBJECT
+
+ public:
+ VideoPlaybackControlBar( VideoPlaybackControlsController* controller );
+ virtual ~VideoPlaybackControlBar();
+ void updateState( TMPXPlaybackState state );
+ void aspectRatioChanged( int aspectRatio );
+ void initialize();
+ void updateWithFileDetails( VideoPlaybackViewFileDetails* details );
+ void setVisibleToControlBar( bool visible );
+ void durationChanged( int duration );
+ void positionChanged( int position );
+
+ private:
+ VideoPlaybackControlsController *mController;
+ VideoPlaybackToolBar *mToolBar;
+ VideoPlaybackProgressBar *mProgressBar;
+};
+
+#endif /*VIDEOPLAYBACKCONTROLBAR_H_*/