|
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: CFPhaseLoadingRules class declaration. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_CFPHASELOADINGRULES_H |
|
20 #define C_CFPHASELOADINGRULES_H |
|
21 |
|
22 #include "cfphasebase.h" |
|
23 |
|
24 /** |
|
25 * CF starter phase loading rules. |
|
26 * In this phase rules are loaded. |
|
27 * |
|
28 * @lib - |
|
29 * @since S60 v3.2 |
|
30 */ |
|
31 NONSHARABLE_CLASS( CCFPhaseLoadingRules ): |
|
32 public CCFPhaseBase |
|
33 { |
|
34 public: |
|
35 |
|
36 /** |
|
37 * Two-phased constructor. |
|
38 * @param aCF Interface for contexts |
|
39 */ |
|
40 static CCFPhaseLoadingRules* NewL( MCFContextInterface& aCF ); |
|
41 |
|
42 /** |
|
43 * Two-phased constructor. |
|
44 * @param aCF Interface for contexts |
|
45 */ |
|
46 static CCFPhaseLoadingRules* NewLC( MCFContextInterface& aCF ); |
|
47 |
|
48 /** |
|
49 * Destructor. |
|
50 */ |
|
51 ~CCFPhaseLoadingRules(); |
|
52 |
|
53 void HandleEvent( MCFStarterEventHandler::TCFStarterEvents aEvent ); |
|
54 |
|
55 private: // From base classes |
|
56 |
|
57 // @see CCFPhaseBase |
|
58 void ExecuteL( TRequestStatus* aStatus ); |
|
59 |
|
60 // @see CCFPhaseBase |
|
61 TCFPhaseId NextPhase() const; |
|
62 |
|
63 private: |
|
64 |
|
65 CCFPhaseLoadingRules( MCFContextInterface& aCF ); |
|
66 |
|
67 void ConstructL(); |
|
68 |
|
69 private: // Data |
|
70 |
|
71 /** |
|
72 * Boolean for context source plugin loading |
|
73 * ETrue when plugins are loaded |
|
74 */ |
|
75 TBool iContextSourcePluginsLoaded; |
|
76 |
|
77 /** |
|
78 * Boolean for context source plugin loading |
|
79 * ETrue when plugins are loaded |
|
80 */ |
|
81 TBool iActionPluginsLoaded; |
|
82 }; |
|
83 |
|
84 #endif // C_CFPHASELOADINGRULES_H |