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 ease its usage |
|
30 */ |
|
31 class CFeatureManagerWrapper : public CBase |
|
32 { |
|
33 |
|
34 public: |
|
35 |
|
36 /** |
|
37 * Destructor. Uninitalize FeatureManager. |
|
38 */ |
|
39 virtual ~CFeatureManagerWrapper(); |
|
40 |
|
41 /** |
|
42 * Static constructor. |
|
43 */ |
|
44 static CFeatureManagerWrapper* NewL(); |
|
45 |
|
46 protected: |
|
47 |
|
48 /** |
|
49 * Default constructor. |
|
50 */ |
|
51 CFeatureManagerWrapper(); |
|
52 |
|
53 /** |
|
54 * Second-phase constructor. Initialize FeatureManager |
|
55 */ |
|
56 void ConstructL(); |
|
57 |
|
58 private: |
|
59 |
|
60 /** |
|
61 * Indicates Featuremanger is initialized or not. |
|
62 */ |
|
63 TBool iIsFeatureMgrInitialized; |
|
64 |
|
65 }; |
|
66 |
|
67 #endif |
|
68 |
|
69 // End of file |