equal
deleted
inserted
replaced
98 virtual TBool IgnoreCoreImgRepository () = 0; |
98 virtual TBool IgnoreCoreImgRepository () = 0; |
99 |
99 |
100 /** |
100 /** |
101 This method returns the address of the override repository that |
101 This method returns the address of the override repository that |
102 provides override values for the variant. Typically this repository |
102 provides override values for the variant. Typically this repository |
103 is held in NAND flash and shadowed in RAM by the OS loader. It is |
103 is held in local media and shadowed in RAM by the OS loader. It is |
104 a read-only settings repository. This repository is optional and may |
104 a read-only settings repository. This repository is optional and may |
105 be absent in which case 0 should be returned in aAddr. |
105 be absent in which case 0 should be returned in aAddr. |
106 |
106 |
107 @param aAddr out: a pointer to a HCR::SRepositoryFile |
107 @param aAddr out: a pointer to a HCR::SRepositoryFile |
108 @return KErrNone if successful, output parameters valid, |
108 @return KErrNone if successful, output parameters valid, |
152 UValueWord iLit; |
152 UValueWord iLit; |
153 UValueLarge iPtr; |
153 UValueLarge iPtr; |
154 }; |
154 }; |
155 |
155 |
156 /** Union type used to hold either the literal value or an offset from the |
156 /** Union type used to hold either the literal value or an offset from the |
157 start if the setting repository to the setting value. Used in file and RAM |
157 start of the setting repository to the setting value. Used in file and RAM |
158 mapped settings. |
158 mapped settings. |
159 */ |
159 */ |
160 union USettingValueF |
160 union USettingValueF |
161 { |
161 { |
162 UValueWord iLit; |
162 UValueWord iLit; |
202 { |
202 { |
203 SSettingBase iName; // Always the first member! |
203 SSettingBase iName; // Always the first member! |
204 USettingValueC iValue; |
204 USettingValueC iValue; |
205 }; |
205 }; |
206 |
206 |
207 /** This structure holds a setting define in a file or memory within a file |
207 /** This structure holds a setting defined in a file or memory within a file |
208 based repository. |
208 based repository. |
209 @see SRepositoryFile |
209 @see SRepositoryFile |
210 */ |
210 */ |
211 struct SSettingF // : public SSettingBase |
211 struct SSettingF // : public SSettingBase |
212 { |
212 { |
264 */ |
264 */ |
265 typedef TUint8 TSettingData; |
265 typedef TUint8 TSettingData; |
266 |
266 |
267 /** This class is the root object for a file or memory based settings |
267 /** This class is the root object for a file or memory based settings |
268 repository. It assumes the repository has a flat contiguous layout and |
268 repository. It assumes the repository has a flat contiguous layout and |
269 employees offsets to data rather then C++ pointers as in compiled |
269 employes offsets to data rather then C++ pointers as in compiled |
270 setting repositories. |
270 setting repositories. |
271 All offsets are relative to the address of &iHdr member. |
271 All offsets are relative to the address of &iHdr member. |
272 The last two members are expected to be present in the file/memory as shown |
272 The last two members are expected to be present in the file/memory as shown |
273 although there is no way at type definition time to know the size of these |
273 although there is no way at type definition time to know the size of these |
274 members, hence they are commented out and will be accessed in the code |
274 members, hence they are commented out and will be accessed in the code |
367 #define HCR_LVALUE(a) reinterpret_cast<TInt32>(a) |
367 #define HCR_LVALUE(a) reinterpret_cast<TInt32>(a) |
368 |
368 |
369 /** |
369 /** |
370 Global macro used as last entry in a PSL compiled repository static data. |
370 Global macro used as last entry in a PSL compiled repository static data. |
371 The main use of this is to avoid the "last entry needs no following comma" issue |
371 The main use of this is to avoid the "last entry needs no following comma" issue |
372 and to aid HCR initial thead testing. |
372 and to aid HCR initial thread testing. |
373 The Setting (0xffffffff, 0xffffffff) was choosen as it should never appear in |
373 The Setting (0xffffffff, 0xffffffff) was choosen as it should never appear in |
374 a real variant as this category UID can not be allocated offically. Testers |
374 a real variant as this category UID can not be allocated offically. Testers |
375 should also be aware of the special use of this setting so as not to use it in |
375 should also be aware of the special use of this setting so as not to use it in |
376 a file repository. |
376 a file repository. |
377 |
377 |