equal
deleted
inserted
replaced
39 |
39 |
40 const TDefId KBaseObjectDefId = 1; |
40 const TDefId KBaseObjectDefId = 1; |
41 |
41 |
42 const TUint32 KBaseObjectBasicValueColumnOffset = 8; |
42 const TUint32 KBaseObjectBasicValueColumnOffset = 8; |
43 |
43 |
|
44 const TItemId KSystemFavouritesAlbumId = 1; |
|
45 |
44 const TInt KMaxUintValueLength = 10; |
46 const TInt KMaxUintValueLength = 10; |
45 const TInt KMaxUint64ValueLength = 20; |
47 const TInt KMaxUint64ValueLength = 20; |
46 |
48 |
47 _LIT( KMdSServerName,"MdSServer" ); // Server name |
49 _LIT( KMdSServerName,"MdSServer" ); // Server name |
48 _LIT( KSchemaChunkName, "MdSSchema" ); |
50 _LIT( KSchemaChunkName, "MdSSchema" ); |
56 // creating a session with the server. |
58 // creating a session with the server. |
57 const TUint KMdSServMajorVersionNumber=2; |
59 const TUint KMdSServMajorVersionNumber=2; |
58 const TUint KMdSServMinorVersionNumber=5; |
60 const TUint KMdSServMinorVersionNumber=5; |
59 const TUint KMdSServBuildVersionNumber=0; |
61 const TUint KMdSServBuildVersionNumber=0; |
60 |
62 |
61 |
|
62 const TUint32 KNokiaVendorId = 52487775; |
63 const TUint32 KNokiaVendorId = 52487775; |
|
64 |
|
65 const TInt64 KDiskFullThreshold = 1024*50; // 50 kB |
63 |
66 |
64 // P&S stuff |
67 // P&S stuff |
65 static _LIT_SECURITY_POLICY_PASS(KAllowAllPolicy); |
68 static _LIT_SECURITY_POLICY_PASS(KAllowAllPolicy); |
66 static _LIT_SECURITY_POLICY_C1(KPowerMgmtPolicy,ECapabilityPowerMgmt); |
69 static _LIT_SECURITY_POLICY_C1(KPowerMgmtPolicy,ECapabilityPowerMgmt); |
67 |
70 |
266 EEventNotifyAdd = 0x00100000, |
269 EEventNotifyAdd = 0x00100000, |
267 EEventNotifyRemove = 0x00200000, |
270 EEventNotifyRemove = 0x00200000, |
268 |
271 |
269 ESchemaModify = 0x01000000, |
272 ESchemaModify = 0x01000000, |
270 |
273 |
|
274 EObjectNotifyAddWithUri = 0x10000000, |
|
275 EObjectNotifyModifyWithUri = 0x20000000, |
|
276 EObjectNotifyRemoveWithUri = 0x40000000, |
|
277 |
271 // 0x80000000 is not allowed (signed number is negative) |
278 // 0x80000000 is not allowed (signed number is negative) |
272 }; |
279 }; |
273 |
280 |
274 // File info |
281 // File info |
275 struct TMdSFileInfo |
282 struct TMdSFileInfo |