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