40 */ |
40 */ |
41 NONSHARABLE_CLASS ( CPSuiVariationProxy ): public CBase |
41 NONSHARABLE_CLASS ( CPSuiVariationProxy ): public CBase |
42 { |
42 { |
43 public: //constructor & destructor |
43 public: //constructor & destructor |
44 |
44 |
45 /* Symbian OS 2-phase Constructor. */ |
45 /* Symbian OS 2-phase Constructor. */ |
46 static CPSuiVariationProxy* NewL(); |
46 static CPSuiVariationProxy* NewL(); |
47 |
47 |
48 /* Destructor */ |
48 /* Destructor */ |
49 ~CPSuiVariationProxy(); |
49 ~CPSuiVariationProxy(); |
50 |
50 |
51 public: |
51 public: |
52 /** |
52 /** |
53 * Check from member variable 'iFeatures' is the requested feature active. |
53 * Check from member variable 'iFeatures' is the requested feature active. |
54 * |
54 * |
55 * @param aFeature is uid for used central repository variable. |
55 * @param aFeature is uid for used central repository variable. |
56 * @return returns TBool type ETrue/EFalse is current feature enabled or not |
56 * @return returns TBool type ETrue/EFalse is current feature enabled or not |
57 */ |
57 */ |
58 |
58 |
59 TBool FeatureEnabled( TUint aFeature ) const; |
59 TBool FeatureEnabled( TUint aFeature ) const; |
60 |
60 |
61 private: |
61 private: |
62 |
62 |
63 /** |
63 /** |
64 * Constructor |
64 * Constructor |
65 * |
65 * |
66 * Open CenRep, read data into 'iFeatures' and close CenRep |
66 * Open CenRep, read data into 'iFeatures' and close CenRep |
67 * |
67 * |
68 */ |
68 */ |
69 void ConstructL(); |
69 void ConstructL(); |
70 |
70 |
71 private: |
71 private: |
72 /* Default constructor */ |
72 /* Default constructor */ |
73 CPSuiVariationProxy(); |
73 CPSuiVariationProxy(); |
74 private: |
74 private: |
75 // Saves cen rep data. Readed in ConstructL() |
75 // Saves cen rep data. Readed in ConstructL() |
76 TInt iFeatures; |
76 TInt iFeatures; |
77 |
77 |
78 }; |
78 }; |
79 |
79 |
80 #endif |
80 #endif |