videoplayback/hbvideoplaybackview/tsrc/testmpxvideoplaybackcontrolbar/stub/inc/mpxvideoplaybackbuttonbar.h
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Implementation of QMPXVideoPlaybackButtonBar |
|
15 * |
|
16 */ |
|
17 |
|
18 // Version : %version: 1 % |
|
19 |
|
20 |
|
21 |
|
22 #ifndef MPXVIDEOPLAYBACKBUTTONBAR_H_ |
|
23 #define MPXVIDEOPLAYBACKBUTTONBAR_H_ |
|
24 |
|
25 #include <hbwidget.h> |
|
26 #include <mpxplaybackframeworkdefs.h> |
|
27 |
|
28 |
|
29 |
|
30 class QMPXVideoPlaybackViewFileDetails; |
|
31 class QMPXVideoPlaybackControlsController; |
|
32 |
|
33 |
|
34 class QMPXVideoPlaybackButtonBar : public HbWidget |
|
35 { |
|
36 Q_OBJECT |
|
37 |
|
38 public: |
|
39 QMPXVideoPlaybackButtonBar( QMPXVideoPlaybackControlsController* controller ); |
|
40 virtual ~QMPXVideoPlaybackButtonBar(); |
|
41 void updateState( TMPXPlaybackState state ); |
|
42 void aspectRatioChanged( int aspectRatio ); |
|
43 void initialize(); |
|
44 void updateWithFileDetails( QMPXVideoPlaybackViewFileDetails* details ); |
|
45 |
|
46 public: |
|
47 QMPXVideoPlaybackControlsController *mController; |
|
48 QMPXVideoPlaybackViewFileDetails *mFileDetails; |
|
49 int mAspectRatio; |
|
50 TMPXPlaybackState mState; |
|
51 }; |
|
52 |
|
53 #endif /*MPXVIDEOPLAYBACKBUTTONBAR_H_*/ |