equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004 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: Declaration of class CFeatureManagerWrapper. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef FEATURE_MANAGER_WRAPPER_H |
|
20 #define FEATURE_MANAGER_WRAPPER_H |
|
21 |
|
22 // INCLUDE FILES |
|
23 #include <e32base.h> //CBase |
|
24 #include <featmgr.h> |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * CFeatureManagerWrapper wraps FeatureManager to eliminate |
|
30 * maintenance of existance of FeatureManager. |
|
31 */ |
|
32 NONSHARABLE_CLASS( CFeatureManagerWrapper ) : public CBase |
|
33 { |
|
34 |
|
35 public: |
|
36 |
|
37 /** |
|
38 * Destructor. Uninitalize FeatureManager. |
|
39 */ |
|
40 virtual ~CFeatureManagerWrapper(); |
|
41 |
|
42 /** |
|
43 * Static constructor. |
|
44 */ |
|
45 static CFeatureManagerWrapper* NewL(); |
|
46 |
|
47 protected: |
|
48 |
|
49 /** |
|
50 * Default constructor. |
|
51 */ |
|
52 CFeatureManagerWrapper(); |
|
53 |
|
54 /** |
|
55 * Second-phase constructor. Initialize FeatureManager |
|
56 */ |
|
57 void ConstructL(); |
|
58 |
|
59 private: |
|
60 |
|
61 /** |
|
62 * Indicates Featuremanger is initialized or not. |
|
63 */ |
|
64 TBool iIsFeatureMgrInitialized; |
|
65 |
|
66 }; |
|
67 |
|
68 #endif |
|
69 |
|
70 // End of file |