13 * |
13 * |
14 * Description: Declaration of VideoServicePlay |
14 * Description: Declaration of VideoServicePlay |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: da1mmcf#2 % |
18 // Version : %version: da1mmcf#3 % |
19 |
19 |
20 #ifndef __VIDEOSERVICEPLAY_H__ |
20 #ifndef __VIDEOSERVICEPLAY_H__ |
21 #define __VIDEOSERVICEPLAY_H__ |
21 #define __VIDEOSERVICEPLAY_H__ |
22 |
22 |
23 #include <xqserviceprovider.h> |
23 #include <xqserviceprovider.h> |
24 #include <QObject> |
24 #include <QObject> |
25 |
25 |
26 // FORWARD DECLARATIONS |
26 // FORWARD DECLARATIONS |
27 class VideoServices; |
27 class VideoServices; |
28 class QVideoPlayerEngine; |
28 class VideoPlayerEngine; |
29 class QLatin1String; |
29 class QLatin1String; |
30 |
30 |
31 class VideoServicePlay : public XQServiceProvider |
31 class VideoServicePlay : public XQServiceProvider |
32 { |
32 { |
33 |
|
34 Q_OBJECT |
33 Q_OBJECT |
35 |
34 |
36 public: |
35 public: |
37 VideoServicePlay( VideoServices *parent, QVideoPlayerEngine* engine, QLatin1String service ); |
36 |
|
37 VideoServicePlay( VideoServices *parent, |
|
38 VideoPlayerEngine* engine, |
|
39 QLatin1String service ); |
|
40 |
38 virtual ~VideoServicePlay(); |
41 virtual ~VideoServicePlay(); |
39 |
42 |
40 void setEngine( QVideoPlayerEngine* engine ); |
43 void setEngine( VideoPlayerEngine* engine ); |
41 |
44 |
42 public slots: |
45 public slots: |
43 void playMedia( QString filePath ); |
46 void playMedia( QString filePath ); |
44 void playPDLMedia( QString filePath, int downloadID ); |
47 void playPDLMedia( QString filePath, int downloadID ); |
45 void closePlayer(); |
48 void closePlayer(); |
46 |
49 |
47 private: |
50 private: |
48 QVideoPlayerEngine* mEngine; |
51 VideoPlayerEngine* mEngine; |
49 VideoServices* mServiceApp; |
52 VideoServices* mServiceApp; |
50 |
53 |
|
54 }; |
51 |
55 |
52 }; |
56 #endif //__VIDEOSERVICEPLAY_H__ |
53 |
|
54 #endif //__VIDEOSERVICEPLAY_H__ |
|