283 SysAgent2 server, but we do not want to have a dependency to the security |
288 SysAgent2 server, but we do not want to have a dependency to the security |
284 subsystem, so we redefine a constant with the same key value here so it may be used |
289 subsystem, so we redefine a constant with the same key value here so it may be used |
285 by this and other Core OS layer components. We also define the property's |
290 by this and other Core OS layer components. We also define the property's |
286 values in sacls.h too, see TSASwisOperation & TSASwisOperationStatus. |
291 values in sacls.h too, see TSASwisOperation & TSASwisOperationStatus. |
287 |
292 |
288 @internalTechnology |
293 @publishedAll |
|
294 @released |
289 */ |
295 */ |
290 const TInt KSAUidSoftwareInstallKeyValue = 0x102047B7; |
296 const TInt KSAUidSoftwareInstallKeyValue = 0x102047B7; |
291 |
|
292 /** |
|
293 This is a duplicate of Swi::KSwisOperationMask from swi/swispubsubdefs.h |
|
294 @see KSAUidSoftwareInstallKeyValue |
|
295 @internalTechnology |
|
296 */ |
|
297 const TUint KSASwisOperationMask = 0xFF; |
|
298 |
297 |
299 /** |
298 /** |
300 This is a duplicate of Swi::TSwisOperation from swi/swispubsubdefs.h |
299 This is a duplicate of Swi::TSwisOperation from swi/swispubsubdefs.h |
301 @see KSAUidSoftwareInstallKeyValue |
300 @see KSAUidSoftwareInstallKeyValue |
302 @internalTechnology |
301 @publishedAll |
|
302 @released |
303 */ |
303 */ |
304 enum TSASwisOperation |
304 enum TSASwisOperation |
305 { |
305 { |
306 ESASwisNone = 0x00, ///< No operation |
306 ESASwisNone = 0x00, //< No operation |
307 ESASwisInstall = 0x01, ///< Swis install operation is in progress |
307 ESASwisInstall = 0x01, //< Swis install operation is in progress |
308 ESASwisUninstall = 0x02, ///< Swis uninstall operation is in progress |
308 ESASwisUninstall = 0x02, //< Swis uninstall operation is in progress |
309 ESASwisRestore = 0x04 ///< Swis restore operation is in progress |
309 ESASwisRestore = 0x04 //< Swis restore operation is in progress |
310 }; |
310 }; |
311 |
311 |
312 |
312 |
313 /** |
313 /** |
314 This is a duplicate of Swi::KSwisOperationStatusMask from swi/swispubsubdefs.h |
314 This is a duplicate of Swi::KSwisOperationStatusMask from swi/swispubsubdefs.h |
315 @see KSAUidSoftwareInstallKeyValue |
315 @see KSAUidSoftwareInstallKeyValue |
316 @internalTechnology |
316 @publishedAll |
|
317 @released |
317 */ |
318 */ |
318 const TUint KSASwisOperationStatusMask = 0xFF00; |
319 const TUint KSASwisOperationStatusMask = 0xFF00; |
319 |
320 |
320 /** |
321 /** |
321 This is a duplicate of Swi::TSwisOperationStatus from swi/swispubsubdefs.h |
322 This is a duplicate of Swi::TSwisOperationStatus from swi/swispubsubdefs.h |
322 @see KSAUidSoftwareInstallKeyValue |
323 @see KSAUidSoftwareInstallKeyValue |
323 @internalTechnology |
324 @publishedAll |
|
325 @released |
324 */ |
326 */ |
325 enum TSASwisOperationStatus |
327 enum TSASwisOperationStatus |
326 { |
328 { |
327 ESASwisStatusNone = 0x0000, ///< The current operation is in progress |
329 ESASwisStatusNone = 0x0000, //< The current operation is in progress |
328 ESASwisStatusSuccess = 0x0100, ///< The current/last operation succeeded |
330 ESASwisStatusSuccess = 0x0100, //< The current/last operation succeeded |
329 ESASwisStatusAborted = 0x0200 ///< The current/last operation failed |
331 ESASwisStatusAborted = 0x0200 //< The current/last operation failed |
330 }; |
332 }; |
331 |
333 |
332 |
334 |
333 //----------------------------------------------------------------------------- |
335 //----------------------------------------------------------------------------- |
334 |
336 |
335 /** |
|
336 This is a duplicate of KUidJavaInstallKey from swi/swispubsubdefs.h |
|
337 This is the Publish and Subscribe property used by Java install to publish its current |
|
338 state. The publish and subscribe key is defined by SysAgent2 server, but we |
|
339 do not want to have a dependency to the security subsystem, so we redefine a constant |
|
340 with the same value here. |
|
341 @internalTechnology |
|
342 */ |
|
343 const TInt KSAUidJavaInstallKeyValue = 0x1020806E; |
|
344 |
|
345 |
337 |
346 /** This is the global definition used by Software Install server (SWIS) |
338 /** This is the global definition used by Software Install server (SWIS) |
347 This is the publish and subscribe property used by SWI to publish the most |
339 This is the publish and subscribe property used by SWI to publish the most |
348 recently installed or updated application. If the application has |
340 recently installed or updated application. If the application has |
349 subsequently been uninstalled the value may refer to an application |
341 subsequently been uninstalled the value may refer to an application |
350 that no longer exists. Has value KUidNull if no applications have been |
342 that no longer exists. Has value KUidNull if no applications have been |
351 installed |
343 installed |
352 |
344 |
353 @publishedPartner |
345 @publishedAll |
354 @released |
346 @released |
355 @capability ECapabilityTrustedUI capability is required to modify the value of this property |
347 @capability ECapabilityTrustedUI capability is required to modify the value of this property |
356 */ |
348 */ |
357 const TUint KUidSwiLatestInstallation = 0x10272C8E; |
349 const TUint KUidSwiLatestInstallation = 0x10272C8E; |
358 |
350 |
359 /** This is the global definition of KUidJmiLatestInstallation used |
351 /** This is the global definition of KUidUnifiedCertstoreFlag. This publish |
360 by Java Midlet Installer |
|
361 This is the publish and subscribe property used by JMI to publish the most |
|
362 recently installed application. If the application has |
|
363 subsequently been uninstalled the value may refer to an application |
|
364 that no longer exists. Has value KUidNull if no applications have been |
|
365 installed |
|
366 |
|
367 @publishedPartner |
|
368 @released |
|
369 @capability ECapabilityTrustedUI capability is required to modify the value of this property |
|
370 */ |
|
371 const TUint KUidJmiLatestInstallation = 0x10272D3D; |
|
372 |
|
373 |
|
374 /** This is the global definitioin of KUidUnifiedCertstoreFlag. This publish |
|
375 and subscribe property is used to notify users of changes in the unified certstore |
352 and subscribe property is used to notify users of changes in the unified certstore |
376 |
353 |
377 @publishedPartner |
354 @publishedAll |
378 @released |
355 @released |
379 */ |
356 */ |
380 const TUint KUidUnifiedCertstoreFlag = 0x10272C83; |
357 const TUint KUidUnifiedCertstoreFlag = 0x10272C83; |
381 |
358 |
382 /** |
359 /** |
387 @released |
364 @released |
388 */ |
365 */ |
389 const TUint KUidBackupRestoreKey = 0x10202792; |
366 const TUint KUidBackupRestoreKey = 0x10202792; |
390 |
367 |
391 |
368 |
392 /** |
|
393 This is a duplicate of KPosLastKnownLocationCategory from lbs's epos_lastknownlocationpsykeys.h |
|
394 It should NOT be used directly. |
|
395 Defines value UID of Location P&S keys category. |
|
396 The publish and subscribe key is defined by SysAgent2 server. |
|
397 @internalTechnology |
|
398 */ |
|
399 const TInt KSAPosLastKnownLocationCategoryValue = 0x10009BFA; |
|
400 const TUid KSAPosLastKnownLocationCategory = { KSAPosLastKnownLocationCategoryValue }; |
|
401 |
|
402 /** |
|
403 This is a duplicate of KPosLastKnownLocation from lbs's epos_lastknownlocationpsykeys.h |
|
404 ID of the Last Known Location key. |
|
405 It should NOT be used directly. |
|
406 Contains binary values, a buffer with packaged TPositionInfo. |
|
407 |
|
408 If it contains a buffer, which length does not match TPositionInfo, |
|
409 such value shall be ignored. |
|
410 |
|
411 Client must have ReadDeviceData capability in order to read this key. |
|
412 @internalTechnology |
|
413 */ |
|
414 const TInt KSAPosLastKnownLocation = 0x00000001; |
|
415 |
|
416 /** |
|
417 This is a duplicate of KPosIndicatorCategoryUid from lbs's locationfwdomainpskeys.h |
|
418 It should NOT be used directly. |
|
419 Defines UID of Positioning Indicator P&S keys category. |
|
420 @internalTechnology |
|
421 */ |
|
422 const TInt KSAPosIndicatorCategoryValue = 0x101F7A79 ; |
|
423 const TUid KSAPosIndicatorCategory = {KSAPosIndicatorCategoryValue}; |
|
424 |
|
425 /** |
|
426 This is a duplicate of KPosIntGpsHwStatus from lbs's locationfwdomainpskeys.h |
|
427 ID of the Integrated GPS HW Status key. |
|
428 It should NOT be used directly. |
|
429 May contain values defined by @ref TPosIntGpsHwIndicatorState. |
|
430 |
|
431 Default value (i.e. when this key is not found) is EPosIntGpsHwIndicatorOff. |
|
432 |
|
433 If it contains any other value than defined in @ref TPosIntGpsHwState, |
|
434 such value shall be ignored and TPosIndicatorState::EPosIntGpsHwIndicatorOff |
|
435 shall be assumed. |
|
436 @internalTechnology |
|
437 */ |
|
438 const TInt KSAPosIntGpsHwStatus = 0x00000001; |
|
439 // Deprecated - redundant method no longer used by system software |
369 // Deprecated - redundant method no longer used by system software |
440 IMPORT_C TInt StartSysAgt2(); |
370 IMPORT_C TInt StartSysAgt2(); |
441 |
371 |
442 #endif //__SACLS_H__ |
372 #endif //__SACLS_H__ |