|
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: Implementation of Video Playback view plugin |
|
15 * |
|
16 */ |
|
17 |
|
18 // Version : %version: 3 % |
|
19 |
|
20 |
|
21 |
|
22 // Include Files |
|
23 |
|
24 #include "mpxvideoplaybackview.h" |
|
25 #include "mpxvideoplaybackviewplugin.h" |
|
26 |
|
27 // Member Functions |
|
28 |
|
29 CMPXVideoPlaybackViewPlugin* CMPXVideoPlaybackViewPlugin::NewLC() |
|
30 { |
|
31 CMPXVideoPlaybackViewPlugin* self = new (ELeave) CMPXVideoPlaybackViewPlugin; |
|
32 CleanupStack::PushL(self); |
|
33 self->ConstructL(); |
|
34 return self; |
|
35 } |
|
36 |
|
37 CMPXVideoPlaybackViewPlugin* CMPXVideoPlaybackViewPlugin::NewL() |
|
38 { |
|
39 CMPXVideoPlaybackViewPlugin* self = CMPXVideoPlaybackViewPlugin::NewLC(); |
|
40 CleanupStack::Pop(self); |
|
41 return self; |
|
42 } |
|
43 |
|
44 CMPXVideoPlaybackViewPlugin::CMPXVideoPlaybackViewPlugin() |
|
45 // note, CBase initialises all member variables to zero |
|
46 { |
|
47 } |
|
48 |
|
49 void CMPXVideoPlaybackViewPlugin::ConstructL() |
|
50 { |
|
51 } |
|
52 |
|
53 CMPXVideoPlaybackViewPlugin::~CMPXVideoPlaybackViewPlugin() |
|
54 { |
|
55 } |
|
56 |
|
57 // --------------------------------------------------------------------------- |
|
58 // From CMPXAknViewPlugin |
|
59 // Construct Avkon view. |
|
60 // --------------------------------------------------------------------------- |
|
61 // |
|
62 CAknView* CMPXVideoPlaybackViewPlugin::ConstructViewLC() |
|
63 { |
|
64 return CMPXVideoPlaybackView::NewLC(); |
|
65 } |
|
66 |
|
67 // End of File |