equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 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: QMpxHbVideoPlaybackViewPlugin |
|
15 * |
|
16 */ |
|
17 |
|
18 // Version : %version: 6 % |
|
19 |
|
20 |
|
21 #ifndef QMPXHBVIDEOPLAYBACKVIEWPLUGIN_H |
|
22 #define QMPXHBVIDEOPLAYBACKVIEWPLUGIN_H |
|
23 |
|
24 #include <QObject> |
|
25 #include <mpxviewpluginqt.h> |
|
26 |
|
27 |
|
28 // FORWARD DECLARATION |
|
29 class HbVideoPlaybackView; |
|
30 |
|
31 /** |
|
32 * MPX playback view plugin definition. |
|
33 * |
|
34 */ |
|
35 class QMpxHbVideoPlaybackViewPlugin : public MpxViewPlugin |
|
36 { |
|
37 Q_OBJECT |
|
38 |
|
39 public: |
|
40 |
|
41 /** |
|
42 * C++ default constructor. |
|
43 */ |
|
44 QMpxHbVideoPlaybackViewPlugin(); |
|
45 |
|
46 /** |
|
47 * Destructor. |
|
48 * |
|
49 */ |
|
50 virtual ~QMpxHbVideoPlaybackViewPlugin(); |
|
51 |
|
52 // from QViewPlugin |
|
53 |
|
54 void createView(); |
|
55 |
|
56 void destroyView(); |
|
57 |
|
58 void activateView(); |
|
59 |
|
60 void deactivateView(); |
|
61 |
|
62 QGraphicsWidget* getView(); |
|
63 |
|
64 signals: |
|
65 void command( int aCommand ); |
|
66 |
|
67 public slots: |
|
68 void orientationChange(Qt::Orientation orientation); |
|
69 |
|
70 void back(); |
|
71 |
|
72 public: |
|
73 HbVideoPlaybackView* mView; |
|
74 bool mViewActivated; |
|
75 |
|
76 }; |
|
77 |
|
78 |
|
79 #endif //QMPXHBVIDEOPLAYBACKVIEWPLUGIN_H |