|
1 /* |
|
2 * Copyright (c) 2006 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 Playback view plugin |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 // INCLUDE FILES |
|
21 #include "mpxplaybackview.h" |
|
22 #include "mpxplaybackviewplugin.h" |
|
23 |
|
24 |
|
25 // ======== MEMBER FUNCTIONS ======== |
|
26 |
|
27 // --------------------------------------------------------------------------- |
|
28 // C++ default constructor can NOT contain any code, that |
|
29 // might leave. |
|
30 // --------------------------------------------------------------------------- |
|
31 // |
|
32 CMPXPlaybackViewPlugin::CMPXPlaybackViewPlugin() |
|
33 { |
|
34 // Do nothing |
|
35 } |
|
36 |
|
37 // --------------------------------------------------------------------------- |
|
38 // Symbian 2nd phase constructor can leave. |
|
39 // --------------------------------------------------------------------------- |
|
40 // |
|
41 void CMPXPlaybackViewPlugin::ConstructL() |
|
42 { |
|
43 // Do nothing |
|
44 } |
|
45 |
|
46 // --------------------------------------------------------------------------- |
|
47 // Two-phased constructor. |
|
48 // --------------------------------------------------------------------------- |
|
49 // |
|
50 CMPXPlaybackViewPlugin* CMPXPlaybackViewPlugin::NewL() |
|
51 { |
|
52 CMPXPlaybackViewPlugin* self = new ( ELeave ) CMPXPlaybackViewPlugin(); |
|
53 CleanupStack::PushL( self ); |
|
54 self->ConstructL(); |
|
55 CleanupStack::Pop( self ); |
|
56 return self; |
|
57 } |
|
58 |
|
59 // --------------------------------------------------------------------------- |
|
60 // Destructor |
|
61 // --------------------------------------------------------------------------- |
|
62 // |
|
63 CMPXPlaybackViewPlugin::~CMPXPlaybackViewPlugin() |
|
64 { |
|
65 // Do nothing |
|
66 } |
|
67 |
|
68 // --------------------------------------------------------------------------- |
|
69 // From CMPXAknViewPlugin |
|
70 // Construct Avkon view. |
|
71 // --------------------------------------------------------------------------- |
|
72 // |
|
73 CAknView* CMPXPlaybackViewPlugin::ConstructViewLC() |
|
74 { |
|
75 return CMPXPlaybackView::NewLC(); |
|
76 } |
|
77 |
|
78 // End of File |