1.1 --- a/epoc32/include/sacls.h Wed Mar 31 12:27:01 2010 +0100
1.2 +++ b/epoc32/include/sacls.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -1,9 +1,9 @@
1.4 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 // All rights reserved.
1.6 // This component and the accompanying materials are made available
1.7 -// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
1.8 +// under the terms of "Eclipse Public License v1.0"
1.9 // which accompanies this distribution, and is available
1.10 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.11 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.12 //
1.13 // Initial Contributors:
1.14 // Nokia Corporation - initial contribution.
1.15 @@ -16,6 +16,11 @@
1.16 #ifndef __SACLS_H__
1.17 #define __SACLS_H__
1.18
1.19 +#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
1.20 +#include <saclsdefines.h>
1.21 +#include <saclscommon.h>
1.22 +#endif
1.23 +
1.24 #include <e32std.h>
1.25
1.26 /**
1.27 @@ -285,63 +290,50 @@
1.28 by this and other Core OS layer components. We also define the property's
1.29 values in sacls.h too, see TSASwisOperation & TSASwisOperationStatus.
1.30
1.31 -@internalTechnology
1.32 +@publishedAll
1.33 +@released
1.34 */
1.35 const TInt KSAUidSoftwareInstallKeyValue = 0x102047B7;
1.36
1.37 /**
1.38 -This is a duplicate of Swi::KSwisOperationMask from swi/swispubsubdefs.h
1.39 -@see KSAUidSoftwareInstallKeyValue
1.40 -@internalTechnology
1.41 -*/
1.42 -const TUint KSASwisOperationMask = 0xFF;
1.43 -
1.44 -/**
1.45 This is a duplicate of Swi::TSwisOperation from swi/swispubsubdefs.h
1.46 @see KSAUidSoftwareInstallKeyValue
1.47 -@internalTechnology
1.48 +@publishedAll
1.49 +@released
1.50 */
1.51 enum TSASwisOperation
1.52 {
1.53 - ESASwisNone = 0x00, ///< No operation
1.54 - ESASwisInstall = 0x01, ///< Swis install operation is in progress
1.55 - ESASwisUninstall = 0x02, ///< Swis uninstall operation is in progress
1.56 - ESASwisRestore = 0x04 ///< Swis restore operation is in progress
1.57 + ESASwisNone = 0x00, //< No operation
1.58 + ESASwisInstall = 0x01, //< Swis install operation is in progress
1.59 + ESASwisUninstall = 0x02, //< Swis uninstall operation is in progress
1.60 + ESASwisRestore = 0x04 //< Swis restore operation is in progress
1.61 };
1.62
1.63
1.64 /**
1.65 This is a duplicate of Swi::KSwisOperationStatusMask from swi/swispubsubdefs.h
1.66 @see KSAUidSoftwareInstallKeyValue
1.67 -@internalTechnology
1.68 +@publishedAll
1.69 +@released
1.70 */
1.71 const TUint KSASwisOperationStatusMask = 0xFF00;
1.72
1.73 /**
1.74 This is a duplicate of Swi::TSwisOperationStatus from swi/swispubsubdefs.h
1.75 @see KSAUidSoftwareInstallKeyValue
1.76 -@internalTechnology
1.77 +@publishedAll
1.78 +@released
1.79 */
1.80 enum TSASwisOperationStatus
1.81 {
1.82 - ESASwisStatusNone = 0x0000, ///< The current operation is in progress
1.83 - ESASwisStatusSuccess = 0x0100, ///< The current/last operation succeeded
1.84 - ESASwisStatusAborted = 0x0200 ///< The current/last operation failed
1.85 + ESASwisStatusNone = 0x0000, //< The current operation is in progress
1.86 + ESASwisStatusSuccess = 0x0100, //< The current/last operation succeeded
1.87 + ESASwisStatusAborted = 0x0200 //< The current/last operation failed
1.88 };
1.89
1.90
1.91 //-----------------------------------------------------------------------------
1.92
1.93 -/**
1.94 -This is a duplicate of KUidJavaInstallKey from swi/swispubsubdefs.h
1.95 -This is the Publish and Subscribe property used by Java install to publish its current
1.96 -state. The publish and subscribe key is defined by SysAgent2 server, but we
1.97 -do not want to have a dependency to the security subsystem, so we redefine a constant
1.98 -with the same value here.
1.99 -@internalTechnology
1.100 -*/
1.101 -const TInt KSAUidJavaInstallKeyValue = 0x1020806E;
1.102 -
1.103
1.104 /** This is the global definition used by Software Install server (SWIS)
1.105 This is the publish and subscribe property used by SWI to publish the most
1.106 @@ -350,31 +342,16 @@
1.107 that no longer exists. Has value KUidNull if no applications have been
1.108 installed
1.109
1.110 -@publishedPartner
1.111 +@publishedAll
1.112 @released
1.113 @capability ECapabilityTrustedUI capability is required to modify the value of this property
1.114 */
1.115 const TUint KUidSwiLatestInstallation = 0x10272C8E;
1.116
1.117 -/** This is the global definition of KUidJmiLatestInstallation used
1.118 -by Java Midlet Installer
1.119 -This is the publish and subscribe property used by JMI to publish the most
1.120 -recently installed application. If the application has
1.121 -subsequently been uninstalled the value may refer to an application
1.122 -that no longer exists. Has value KUidNull if no applications have been
1.123 -installed
1.124 -
1.125 -@publishedPartner
1.126 -@released
1.127 -@capability ECapabilityTrustedUI capability is required to modify the value of this property
1.128 -*/
1.129 -const TUint KUidJmiLatestInstallation = 0x10272D3D;
1.130 -
1.131 -
1.132 -/** This is the global definitioin of KUidUnifiedCertstoreFlag. This publish
1.133 +/** This is the global definition of KUidUnifiedCertstoreFlag. This publish
1.134 and subscribe property is used to notify users of changes in the unified certstore
1.135
1.136 -@publishedPartner
1.137 +@publishedAll
1.138 @released
1.139 */
1.140 const TUint KUidUnifiedCertstoreFlag = 0x10272C83;
1.141 @@ -389,53 +366,6 @@
1.142 const TUint KUidBackupRestoreKey = 0x10202792;
1.143
1.144
1.145 -/**
1.146 -This is a duplicate of KPosLastKnownLocationCategory from lbs's epos_lastknownlocationpsykeys.h
1.147 -It should NOT be used directly.
1.148 -Defines value UID of Location P&S keys category.
1.149 -The publish and subscribe key is defined by SysAgent2 server.
1.150 -@internalTechnology
1.151 - */
1.152 -const TInt KSAPosLastKnownLocationCategoryValue = 0x10009BFA;
1.153 -const TUid KSAPosLastKnownLocationCategory = { KSAPosLastKnownLocationCategoryValue };
1.154 -
1.155 -/**
1.156 -This is a duplicate of KPosLastKnownLocation from lbs's epos_lastknownlocationpsykeys.h
1.157 -ID of the Last Known Location key.
1.158 -It should NOT be used directly.
1.159 -Contains binary values, a buffer with packaged TPositionInfo.
1.160 -
1.161 -If it contains a buffer, which length does not match TPositionInfo,
1.162 -such value shall be ignored.
1.163 -
1.164 -Client must have ReadDeviceData capability in order to read this key.
1.165 -@internalTechnology
1.166 -*/
1.167 -const TInt KSAPosLastKnownLocation = 0x00000001;
1.168 -
1.169 -/**
1.170 -This is a duplicate of KPosIndicatorCategoryUid from lbs's locationfwdomainpskeys.h
1.171 -It should NOT be used directly.
1.172 -Defines UID of Positioning Indicator P&S keys category.
1.173 -@internalTechnology
1.174 -*/
1.175 -const TInt KSAPosIndicatorCategoryValue = 0x101F7A79 ;
1.176 -const TUid KSAPosIndicatorCategory = {KSAPosIndicatorCategoryValue};
1.177 -
1.178 -/**
1.179 -This is a duplicate of KPosIntGpsHwStatus from lbs's locationfwdomainpskeys.h
1.180 -ID of the Integrated GPS HW Status key.
1.181 -It should NOT be used directly.
1.182 -May contain values defined by @ref TPosIntGpsHwIndicatorState.
1.183 -
1.184 -Default value (i.e. when this key is not found) is EPosIntGpsHwIndicatorOff.
1.185 -
1.186 -If it contains any other value than defined in @ref TPosIntGpsHwState,
1.187 -such value shall be ignored and TPosIndicatorState::EPosIntGpsHwIndicatorOff
1.188 -shall be assumed.
1.189 -@internalTechnology
1.190 -*/
1.191 -const TInt KSAPosIntGpsHwStatus = 0x00000001;
1.192 // Deprecated - redundant method no longer used by system software
1.193 IMPORT_C TInt StartSysAgt2();
1.194