|
1 /* |
|
2 * Copyright (c) 2008 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: MPX Video playback view |
|
15 * |
|
16 */ |
|
17 |
|
18 // Version : %version: 4 % |
|
19 |
|
20 |
|
21 // This file defines the API for VideoPlaybackView.dll |
|
22 |
|
23 #ifndef __VIDEOPLAYBACKVIEW_H__ |
|
24 #define __VIDEOPLAYBACKVIEW_H__ |
|
25 |
|
26 // Include Files |
|
27 #include "mpxvideobaseplaybackview.h" |
|
28 |
|
29 // Constants |
|
30 |
|
31 // Forward Declarations |
|
32 |
|
33 // Class Definitions |
|
34 |
|
35 class CMPXVideoPlaybackView : public CMPXVideoBasePlaybackView |
|
36 { |
|
37 public: |
|
38 |
|
39 /* |
|
40 * Two phase constructor |
|
41 * |
|
42 * @since 9.2 |
|
43 * @return pointer to the new object |
|
44 */ |
|
45 IMPORT_C static CMPXVideoPlaybackView* NewL(); |
|
46 IMPORT_C static CMPXVideoPlaybackView* NewLC(); |
|
47 |
|
48 /* |
|
49 * Destuctor |
|
50 */ |
|
51 ~CMPXVideoPlaybackView(); |
|
52 |
|
53 protected: |
|
54 |
|
55 /* |
|
56 * From CAknView |
|
57 * Returns views id. |
|
58 * |
|
59 * @return Views Uid |
|
60 */ |
|
61 TUid Id() const; |
|
62 |
|
63 TUid ViewImplementationId() const; |
|
64 |
|
65 void CloseEmbeddedPlaybackViewL(); |
|
66 |
|
67 virtual void HandlePluginErrorL( TInt aError ); |
|
68 |
|
69 /* |
|
70 * Handle Download State Change |
|
71 * @param aState new state of the download |
|
72 */ |
|
73 void HandlePdlStateChangeL( TInt aState ); |
|
74 |
|
75 /* |
|
76 * Handle transition to the stopped state |
|
77 */ |
|
78 void HandleStoppedStateL(); |
|
79 |
|
80 private: |
|
81 |
|
82 CMPXVideoPlaybackView(); |
|
83 void ConstructL(); |
|
84 }; |
|
85 |
|
86 #endif // __VIDEOPLAYBACKVIEW_H__ |
|
87 |
|
88 // EOF |