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