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