30
|
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 |
|
38
|
18 |
// Version : %version: da1mmcf#2 %
|
30
|
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;
|
38
|
29 |
class QLatin1String;
|
30
|
30 |
|
|
31 |
class VideoServicePlay : public XQServiceProvider
|
|
32 |
{
|
|
33 |
|
|
34 |
Q_OBJECT
|
|
35 |
|
|
36 |
public:
|
38
|
37 |
VideoServicePlay( VideoServices *parent, QVideoPlayerEngine* engine, QLatin1String service );
|
30
|
38 |
virtual ~VideoServicePlay();
|
|
39 |
|
|
40 |
void setEngine( QVideoPlayerEngine* engine );
|
|
41 |
|
|
42 |
public slots:
|
|
43 |
void playMedia( QString filePath );
|
|
44 |
void playPDLMedia( QString filePath, int downloadID );
|
|
45 |
void closePlayer();
|
|
46 |
|
|
47 |
private:
|
|
48 |
QVideoPlayerEngine* mEngine;
|
|
49 |
VideoServices* mServiceApp;
|
|
50 |
|
|
51 |
|
|
52 |
};
|
|
53 |
|
|
54 |
#endif //__VIDEOSERVICEPLAY_H__
|