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: Simple Video Playback MXP view plugin |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef SVPBPLUGIN_H |
|
19 #define SVPBPLUGIN_H |
|
20 |
|
21 #include <mpxviewpluginqt.h> |
|
22 |
|
23 class SvpbEngine; |
|
24 class SvpbView; |
|
25 |
|
26 class SvpbPlugin : public MpxViewPlugin |
|
27 { |
|
28 Q_OBJECT |
|
29 |
|
30 public: |
|
31 SvpbPlugin(); |
|
32 virtual ~SvpbPlugin(); |
|
33 |
|
34 public: // from MpxViewPlugin |
|
35 void createView(); |
|
36 void destroyView(); |
|
37 void activateView(); |
|
38 void deactivateView(); |
|
39 QGraphicsWidget* getView(); |
|
40 |
|
41 public slots: // from MpxViewPlugin |
|
42 void orientationChange(Qt::Orientation orientation); |
|
43 void back(); |
|
44 |
|
45 private: |
|
46 SvpbView *mView; |
|
47 SvpbEngine *mEngine; |
|
48 }; |
|
49 |
|
50 #endif //SVPBPLUGIN_H |
|
51 |