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