34
|
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: Implementation of QMpxVideoPlaybackWrapper
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
36
|
18 |
// Version : %version: 5 %
|
34
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
#ifndef MPXVIDEOPLAYBACKWRAPPER_H_
|
|
23 |
#define MPXVIDEOPLAYBACKWRAPPER_H_
|
|
24 |
|
|
25 |
#include <QObject>
|
|
26 |
#include <QString>
|
|
27 |
#include <QFile>
|
36
|
28 |
#include <f32file.h>
|
34
|
29 |
#include "mpxhbvideocommondefs.h"
|
|
30 |
|
|
31 |
class CMpxVideoPlayerAppUiEngine;
|
|
32 |
|
|
33 |
class QMpxVideoPlaybackWrapper : public QObject
|
|
34 |
{
|
|
35 |
Q_OBJECT
|
|
36 |
|
|
37 |
public:
|
|
38 |
QMpxVideoPlaybackWrapper();
|
|
39 |
virtual ~QMpxVideoPlaybackWrapper();
|
|
40 |
|
|
41 |
int playMedia( QString aFileName );
|
36
|
42 |
int playMedia( RFile aFile );
|
34
|
43 |
void openPlaybackView() ;
|
36
|
44 |
void lateInit();
|
34
|
45 |
|
|
46 |
private:
|
|
47 |
void initializePlugins();
|
36
|
48 |
int openFileWithNativePath(const TDesC& aFileName);
|
34
|
49 |
|
|
50 |
signals:
|
|
51 |
void handlePlaybackView( int viewId );
|
|
52 |
|
|
53 |
private: //data
|
|
54 |
CMpxVideoPlayerAppUiEngine *mUiEngine;
|
|
55 |
};
|
|
56 |
|
|
57 |
#endif /* MPXVIDEOPLAYBACKWRAPPER_H_ */
|