videoplayerapp/videoplayerengine/tsrc/testvideoplayerengine/stub/inc/mpxvideoplaybackwrapper.h
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: Stub implementation of QMpxVideoPlaybackWrapper |
|
15 * |
|
16 */ |
|
17 |
|
18 // Version : %version: da1mmcf#5 % |
|
19 |
|
20 |
|
21 |
|
22 #ifndef MPXVIDEOPLAYBACKWRAPPER_H_ |
|
23 #define MPXVIDEOPLAYBACKWRAPPER_H_ |
|
24 |
|
25 #include <qobject> |
|
26 #include <qstring> |
|
27 #include <qfile> |
|
28 #include <f32file.h> |
|
29 |
|
30 #include <mpxhbvideocommondefs.h> |
|
31 |
|
32 class QMpxVideoPlaybackWrapper : public QObject |
|
33 { |
|
34 Q_OBJECT |
|
35 |
|
36 public: |
|
37 QMpxVideoPlaybackWrapper(); |
|
38 virtual ~QMpxVideoPlaybackWrapper(); |
|
39 int playMedia( QString aFileName ); |
|
40 int playMedia( RFile aFile ); |
|
41 |
|
42 public: |
|
43 void openPlaybackView() ; |
|
44 static int GetInstanceCount(); |
|
45 void lateInit(); |
|
46 |
|
47 signals: |
|
48 void handlePlaybackView( int viewId ); |
|
49 |
|
50 private: |
|
51 static void Increment(); |
|
52 static void Decrement(); |
|
53 }; |
|
54 |
|
55 #endif /* STUBMPXVIDEOPLAYBACKWRAPPER_H_ */ |
|