equal
deleted
inserted
replaced
15 * Implementation of class CFavouritesSrvDb |
15 * Implementation of class CFavouritesSrvDb |
16 * |
16 * |
17 * |
17 * |
18 */ |
18 */ |
19 |
19 |
20 |
|
21 // INCLUDE FILES |
20 // INCLUDE FILES |
22 |
21 |
23 #include <s32std.h> |
22 #include <s32std.h> |
24 #include <eikenv.h> |
23 #include <eikenv.h> |
25 #include <rfsApMapper.h> |
24 #include <rfsApMapper.h> |
27 #include "FavouritesSrvDb.h" |
26 #include "FavouritesSrvDb.h" |
28 #include "FavouritesSrvTable.h" |
27 #include "FavouritesSrvTable.h" |
29 #include "FavouritesItemImpl.h" |
28 #include "FavouritesItemImpl.h" |
30 #include "FavouritesItemImplList.h" |
29 #include "FavouritesItemImplList.h" |
31 #include "FavouritesPanic.h" |
30 #include "FavouritesPanic.h" |
32 #include "FavouritesLimits.h" |
31 #include <favouriteslimits.h> |
33 #include "FavouritesItemData.h" |
32 #include <favouritesitemdata.h> |
34 #include "FavouritesFilter.h" |
33 #include "FavouritesFilter.h" |
35 #include "UidMap.h" |
34 #include "UidMap.h" |
36 #include "FavouritesLogger.h" |
35 #include "FavouritesLogger.h" |
37 #include "FavouritesFolder.h" |
36 #include "FavouritesFolder.h" |
38 |
|
39 |
|
40 |
37 |
41 // CONSTANTS |
38 // CONSTANTS |
42 |
39 |
43 /// Uid list granularity. |
40 /// Uid list granularity. |
44 LOCAL_D const TInt KUidListGranularity = 4; |
41 LOCAL_D const TInt KUidListGranularity = 4; |
49 /// Length of filename: 8 char. |
46 /// Length of filename: 8 char. |
50 LOCAL_D const TInt KFnameLength = 8; |
47 LOCAL_D const TInt KFnameLength = 8; |
51 |
48 |
52 // Secure policy ID of the Faveng database files. |
49 // Secure policy ID of the Faveng database files. |
53 LOCAL_D const TUint KUidFavengDbPolicy = 0x101FD685; |
50 LOCAL_D const TUint KUidFavengDbPolicy = 0x101FD685; |
54 |
|
55 |
51 |
56 // ==================== LOCAL FUNCTIONS ==================== |
52 // ==================== LOCAL FUNCTIONS ==================== |
57 |
53 |
58 /** |
54 /** |
59 * Given aName in the format <prefix> or <prefix><integer in parenthesis>, |
55 * Given aName in the format <prefix> or <prefix><integer in parenthesis>, |