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