|
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 |
|
17 |
|
18 // INCLUDE FILES |
|
19 #include <featmgr/featurecmn.h> |
|
20 |
|
21 // ============================= LOCAL FUNCTIONS =============================== |
|
22 |
|
23 // ============================ MEMBER FUNCTIONS =============================== |
|
24 |
|
25 // ----------------------------------------------------------------------------- |
|
26 // TFeatureEntry::TFeatureEntry() |
|
27 // ----------------------------------------------------------------------------- |
|
28 // |
|
29 EXPORT_C TFeatureEntry::TFeatureEntry() : |
|
30 iFeatureID( TUid::Uid(0) ), iFlags( 0 ), iData( 0 ), iReserved ( 0 ) |
|
31 { |
|
32 } |
|
33 |
|
34 // ----------------------------------------------------------------------------- |
|
35 // TFeatureEntry::TFeatureEntry() |
|
36 // ----------------------------------------------------------------------------- |
|
37 // |
|
38 EXPORT_C TFeatureEntry::TFeatureEntry( TUid aFeature ) : |
|
39 iFeatureID( aFeature ), iFlags( 0 ), iData( 0 ), iReserved ( 0 ) |
|
40 { |
|
41 } |
|
42 |
|
43 // ----------------------------------------------------------------------------- |
|
44 // TFeatureEntry::TFeatureEntry() |
|
45 // ----------------------------------------------------------------------------- |
|
46 // |
|
47 EXPORT_C TFeatureEntry::TFeatureEntry( TUid aFeature, TBitFlags32 aFlags, TUint32 aData ) : |
|
48 iFeatureID( aFeature ), iFlags( aFlags ), iData( aData ), iReserved ( 0 ) |
|
49 { |
|
50 } |
|
51 |
|
52 // ----------------------------------------------------------------------------- |
|
53 // TFeatureEntry::FeatureUid() |
|
54 // ----------------------------------------------------------------------------- |
|
55 // |
|
56 EXPORT_C TUid TFeatureEntry::FeatureUid() const |
|
57 { |
|
58 return iFeatureID; |
|
59 } |
|
60 |
|
61 // ----------------------------------------------------------------------------- |
|
62 // TFeatureEntry::FeatureFlags() |
|
63 // ----------------------------------------------------------------------------- |
|
64 // |
|
65 EXPORT_C TBitFlags32 TFeatureEntry::FeatureFlags() const |
|
66 { |
|
67 return iFlags; |
|
68 } |
|
69 |
|
70 // ----------------------------------------------------------------------------- |
|
71 // TFeatureEntry::FeatureData() |
|
72 // ----------------------------------------------------------------------------- |
|
73 // |
|
74 EXPORT_C TUint32 TFeatureEntry::FeatureData() const |
|
75 { |
|
76 return iData; |
|
77 } |
|
78 |
|
79 |
|
80 // End of File |