equal
deleted
inserted
replaced
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: Implementation of QVideoPlayerEngine |
14 * Description: Implementation of VideoPlayerEngine |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: ou1cpsw#15 % |
18 // Version : %version: 16 % |
19 |
19 |
20 #ifndef VIDEOPLAYERENGINE_H |
20 #ifndef VIDEOPLAYERENGINE_H |
21 #define VIDEOPLAYERENGINE_H |
21 #define VIDEOPLAYERENGINE_H |
22 |
22 |
23 #include <qobject.h> |
23 #include <qobject.h> |
30 |
30 |
31 //FORWARD CLASS DECLARATION |
31 //FORWARD CLASS DECLARATION |
32 |
32 |
33 class MpxViewPlugin; |
33 class MpxViewPlugin; |
34 class VideoServices; |
34 class VideoServices; |
35 class QMpxVideoPlaybackWrapper; |
35 class VideoPlaybackWrapper; |
36 |
36 |
37 /** |
37 /** |
38 * QVideoPlayerEngine |
38 * VideoPlayerEngine |
39 * |
39 * |
40 */ |
40 */ |
41 class VIDEOPLAYERAPP_DLL_EXPORT QVideoPlayerEngine: public QObject |
41 class VIDEOPLAYERAPP_DLL_EXPORT VideoPlayerEngine : public QObject |
42 { |
42 { |
43 Q_OBJECT |
43 Q_OBJECT |
44 |
44 |
45 public: |
45 public: |
46 /** |
46 /** |
47 * Constructor |
47 * Constructor |
48 */ |
48 */ |
49 QVideoPlayerEngine(bool isService = false); |
49 VideoPlayerEngine( bool isService = false ); |
50 |
50 |
51 /** |
51 /** |
52 * Destructor. |
52 * Destructor. |
53 */ |
53 */ |
54 virtual ~QVideoPlayerEngine(); |
54 virtual ~VideoPlayerEngine(); |
55 |
55 |
56 public: |
56 public: |
57 void initialize(); |
57 void initialize(); |
58 void playMedia( QString filePath ); |
58 void playMedia( QString filePath ); |
59 void playMedia( RFile file ); |
59 void playMedia( RFile file ); |
90 bool shouldActivateCollectionView(); |
90 bool shouldActivateCollectionView(); |
91 |
91 |
92 private: |
92 private: |
93 bool mIsService; |
93 bool mIsService; |
94 bool mEmbedded; |
94 bool mEmbedded; |
95 bool mDelayedLoadDone; |
95 bool mDelayedLoadDone; |
96 bool mIsPlayService; |
96 bool mIsPlayService; |
97 |
97 |
98 MpxViewPlugin* mCurrentViewPlugin; |
98 MpxViewPlugin* mCurrentViewPlugin; |
99 MpxViewPlugin* mPlaybackViewPlugin; |
99 MpxViewPlugin* mPlaybackViewPlugin; |
100 MpxViewPlugin* mCollectionViewPlugin; |
100 MpxViewPlugin* mCollectionViewPlugin; |
101 MpxViewPlugin* mFileDetailsViewPlugin; |
101 MpxViewPlugin* mFileDetailsViewPlugin; |
102 |
102 |
103 |
103 |
104 QMpxVideoPlaybackWrapper *mPlaybackWrapper; |
104 VideoPlaybackWrapper *mPlaybackWrapper; |
105 |
105 |
106 VideoServices* mVideoServices; |
106 VideoServices* mVideoServices; |
107 |
107 |
108 }; |
108 }; |
109 |
109 |