|
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: CFPhaseLoadingPlugins class implementation. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "cfphaseloadingplugins.h" |
|
20 #include "CFContextObjectImpl.h" |
|
21 #include "cfcontextinterface.h" |
|
22 #include "cfwcontextdef.h" |
|
23 #include "cftrace.h" |
|
24 |
|
25 |
|
26 // ======== MEMBER FUNCTIONS ======== |
|
27 |
|
28 // --------------------------------------------------------------------------- |
|
29 // CCFPhaseLoadingPlugins::NewL |
|
30 // --------------------------------------------------------------------------- |
|
31 // |
|
32 CCFPhaseLoadingPlugins* CCFPhaseLoadingPlugins::NewL( |
|
33 MCFContextInterface& aCF ) |
|
34 { |
|
35 FUNC_LOG; |
|
36 |
|
37 CCFPhaseLoadingPlugins* self = CCFPhaseLoadingPlugins::NewLC( aCF ); |
|
38 CleanupStack::Pop( self ); |
|
39 |
|
40 return self; |
|
41 } |
|
42 |
|
43 // --------------------------------------------------------------------------- |
|
44 // CCFPhaseLoadingPlugins::NewLC |
|
45 // --------------------------------------------------------------------------- |
|
46 // |
|
47 CCFPhaseLoadingPlugins* CCFPhaseLoadingPlugins::NewLC( |
|
48 MCFContextInterface& aCF ) |
|
49 { |
|
50 FUNC_LOG; |
|
51 |
|
52 CCFPhaseLoadingPlugins* self = new( ELeave ) CCFPhaseLoadingPlugins( aCF ); |
|
53 CleanupStack::PushL( self ); |
|
54 self->ConstructL(); |
|
55 |
|
56 return self; |
|
57 } |
|
58 |
|
59 // --------------------------------------------------------------------------- |
|
60 // CCFPhaseLoadingPlugins::~CCFPhaseLoadingPlugins |
|
61 // --------------------------------------------------------------------------- |
|
62 // |
|
63 CCFPhaseLoadingPlugins::~CCFPhaseLoadingPlugins() |
|
64 { |
|
65 FUNC_LOG; |
|
66 } |
|
67 |
|
68 // --------------------------------------------------------------------------- |
|
69 // CCFPhaseLoadingPlugins::ConstructL |
|
70 // --------------------------------------------------------------------------- |
|
71 // |
|
72 void CCFPhaseLoadingPlugins::ConstructL() |
|
73 { |
|
74 FUNC_LOG; |
|
75 } |
|
76 |
|
77 // --------------------------------------------------------------------------- |
|
78 // CCFPhaseLoadingPlugins::CCFPhaseLoadingPlugins |
|
79 // --------------------------------------------------------------------------- |
|
80 // |
|
81 CCFPhaseLoadingPlugins::CCFPhaseLoadingPlugins( |
|
82 MCFContextInterface& aCF ): |
|
83 CCFPhaseBase( CCFPhaseBase::ECFLoadingPlugins, aCF ) |
|
84 { |
|
85 FUNC_LOG; |
|
86 } |
|
87 |
|
88 //----------------------------------------------------------------------------- |
|
89 // CCFPhaseLoadingPlugins::ExecuteL |
|
90 //----------------------------------------------------------------------------- |
|
91 // |
|
92 void CCFPhaseLoadingPlugins::ExecuteL( TRequestStatus* aStatus ) |
|
93 { |
|
94 FUNC_LOG; |
|
95 |
|
96 // Complete phase immediately |
|
97 iStarterRequest = aStatus; |
|
98 Complete( KErrNone ); |
|
99 } |
|
100 |
|
101 //----------------------------------------------------------------------------- |
|
102 // CCFPhaseLoadingPlugins::NextPhase |
|
103 //----------------------------------------------------------------------------- |
|
104 // |
|
105 CCFPhaseBase::TCFPhaseId CCFPhaseLoadingPlugins::NextPhase() const |
|
106 { |
|
107 FUNC_LOG; |
|
108 |
|
109 return CCFPhaseBase::ECFLoadingRules; |
|
110 } |