sl@0: // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: #ifndef __SACLS_H__ sl@0: #define __SACLS_H__ sl@0: sl@0: #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS sl@0: #include sl@0: #include sl@0: #endif sl@0: sl@0: #include sl@0: sl@0: /** sl@0: System agent 2 - maintained entries sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: const TInt KUidProfileValue =0x100052D2; sl@0: const TUid KUidProfile ={KUidProfileValue}; sl@0: sl@0: /** sl@0: @capability WriteDeviceData capability is required for changing KUidPhonePwr property value. sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: const TInt KUidPhonePwrValue=0x100052C5; sl@0: const TUid KUidPhonePwr={KUidPhonePwrValue}; sl@0: sl@0: /** sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: enum TSAPhoneStatus sl@0: { sl@0: ESAPhoneOff, sl@0: ESAPhoneOn sl@0: }; sl@0: sl@0: /** sl@0: @capability WriteDeviceData capability is required for changing KUidSIMStatus property value. sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: const TInt KUidSIMStatusValue =0x100052C6; sl@0: const TUid KUidSIMStatus ={KUidSIMStatusValue}; sl@0: sl@0: /** sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: enum TSASIMStatus sl@0: { sl@0: ESASimOk, sl@0: ESASimNotPresent, sl@0: ESASimRejected sl@0: }; sl@0: sl@0: /** sl@0: @capability WriteDeviceData capability is required for changing KUidNetworkStatus property value. sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: const TInt KUidNetworkStatusValue=0x100052C7; sl@0: const TUid KUidNetworkStatus ={KUidNetworkStatusValue}; sl@0: sl@0: /** sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: enum TSANetworkStatus sl@0: { sl@0: ESANetworkAvailable, sl@0: ESANetworkUnAvailable sl@0: }; sl@0: sl@0: /** sl@0: @capability WriteDeviceData capability is required for changing KUidNetworkStrength property value. sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: const TInt KUidNetworkStrengthValue =0x100052C8; sl@0: const TUid KUidNetworkStrength ={KUidNetworkStrengthValue}; sl@0: sl@0: /** sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: enum TSANetworkStrength sl@0: { sl@0: ESANetworkStrengthNone, sl@0: ESANetworkStrengthLow, sl@0: ESANetworkStrengthMedium, sl@0: ESANetworkStrengthHigh, sl@0: ESANetworkStrengthUnknown sl@0: }; sl@0: sl@0: /** sl@0: @capability WriteDeviceData capability is required for changing KUidChargerStatus property value. sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: const TInt KUidChargerStatusValue =0x100052C9; sl@0: const TUid KUidChargerStatus ={KUidChargerStatusValue}; sl@0: sl@0: /** sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: enum TSAChargerStatus sl@0: { sl@0: ESAChargerConnected, sl@0: ESAChargerDisconnected, sl@0: ESAChargerNotCharging sl@0: }; sl@0: sl@0: /** sl@0: @capability WriteDeviceData capability is required for changing KUidBatteryStrength property value. sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: const TInt KUidBatteryStrengthValue =0x100052CA; sl@0: const TUid KUidBatteryStrength ={KUidBatteryStrengthValue}; sl@0: sl@0: /** sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: enum TSABatteryStrength sl@0: { sl@0: ESABatteryAlmostEmpty, sl@0: ESABatteryLow, sl@0: ESABatteryFull sl@0: }; sl@0: sl@0: /** sl@0: @capability WriteDeviceData capability is required for changing KUidCurrentCall property value. sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: const TInt KUidCurrentCallValue =0x100052CB; sl@0: const TUid KUidCurrentCall ={KUidCurrentCallValue}; sl@0: sl@0: /** sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: enum TSACurrentCall sl@0: { sl@0: ESACallNone, sl@0: ESACallVoice, sl@0: ESACallFax, sl@0: ESACallData, sl@0: ESACallAlerting, sl@0: ESACallRinging, sl@0: ESACallAlternating, sl@0: ESACallDialling, sl@0: ESACallAnswering, sl@0: ESACallDisconnecting sl@0: }; sl@0: sl@0: /** sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: const TInt KUidDataPortValue =0x100052CC; sl@0: const TUid KUidDataPort ={KUidDataPortValue}; sl@0: sl@0: /** sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: enum TSAPort sl@0: { sl@0: ESADataPortIdle, sl@0: ESADataPortBusy sl@0: }; sl@0: sl@0: /** sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: const TInt KUidInboxStatusValue =0x100052CD; sl@0: const TUid KUidInboxStatus ={KUidInboxStatusValue}; sl@0: sl@0: /** sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: enum TSAInboxStatus sl@0: { sl@0: ESAInboxEmpty, sl@0: ESADocumentsInInbox sl@0: }; sl@0: sl@0: /** sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: const TInt KUidOutboxStatusValue=0x100052CE; sl@0: const TUid KUidOutboxStatus ={KUidOutboxStatusValue}; sl@0: sl@0: /** sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: enum TSAOutboxStatus sl@0: { sl@0: ESAOutboxEmpty, sl@0: ESADocumentsInOutbox sl@0: }; sl@0: sl@0: /** sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: const TInt KUidClockValue =0x100052CF; sl@0: const TUid KUidClock ={KUidClockValue}; sl@0: sl@0: /** sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: enum TSAClock sl@0: { sl@0: ESAAm, sl@0: ESAPm sl@0: }; sl@0: sl@0: /** sl@0: No longer used sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: const TInt KUidAlarmValue =0x100052D0; sl@0: const TUid KUidAlarm ={KUidAlarmValue}; sl@0: sl@0: /** sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: enum TSAAlarm sl@0: { sl@0: ESAAlarmOff, sl@0: ESAAlarmOn, sl@0: }; sl@0: sl@0: /** sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: const TInt KUidIrdaStatusValue =0x100052D1; sl@0: const TUid KUidIrdaStatus ={KUidIrdaStatusValue}; sl@0: sl@0: /** sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: enum TSAIrdaStatus sl@0: { sl@0: ESAIrLoaded, //IRDA Irlap layer loaded sl@0: ESAIrDiscoveredPeer,//Discovery begin sl@0: ESAIrLostPeer, //Discovery end sl@0: ESAIrConnected, //IRDA Irlap layer connected sl@0: ESAIrBlocked, //IRDA Irlap layer blocked sl@0: ESAIrDisConnected, //IRDA Irlap layer disconnected sl@0: ESAIrUnloaded //IRDA Irlap layer unloaded sl@0: }; sl@0: sl@0: //----------------------------------------------------------------------------- sl@0: sl@0: /** sl@0: This is a duplicate of Swi::KUidSoftwareInstallKey from swi/swispubsubdefs.h sl@0: This is the publish and subscribe property used by Secure Software Install to sl@0: publish its current state. The publish and subscribe key is defined by sl@0: SysAgent2 server, but we do not want to have a dependency to the security sl@0: subsystem, so we redefine a constant with the same key value here so it may be used sl@0: by this and other Core OS layer components. We also define the property's sl@0: values in sacls.h too, see TSASwisOperation & TSASwisOperationStatus. sl@0: sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: const TInt KSAUidSoftwareInstallKeyValue = 0x102047B7; sl@0: sl@0: /** sl@0: This is a duplicate of Swi::TSwisOperation from swi/swispubsubdefs.h sl@0: @see KSAUidSoftwareInstallKeyValue sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: enum TSASwisOperation sl@0: { sl@0: ESASwisNone = 0x00, //< No operation sl@0: ESASwisInstall = 0x01, //< Swis install operation is in progress sl@0: ESASwisUninstall = 0x02, //< Swis uninstall operation is in progress sl@0: ESASwisRestore = 0x04 //< Swis restore operation is in progress sl@0: }; sl@0: sl@0: sl@0: /** sl@0: This is a duplicate of Swi::KSwisOperationStatusMask from swi/swispubsubdefs.h sl@0: @see KSAUidSoftwareInstallKeyValue sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: const TUint KSASwisOperationStatusMask = 0xFF00; sl@0: sl@0: /** sl@0: This is a duplicate of Swi::TSwisOperationStatus from swi/swispubsubdefs.h sl@0: @see KSAUidSoftwareInstallKeyValue sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: enum TSASwisOperationStatus sl@0: { sl@0: ESASwisStatusNone = 0x0000, //< The current operation is in progress sl@0: ESASwisStatusSuccess = 0x0100, //< The current/last operation succeeded sl@0: ESASwisStatusAborted = 0x0200 //< The current/last operation failed sl@0: }; sl@0: sl@0: sl@0: //----------------------------------------------------------------------------- sl@0: sl@0: sl@0: /** This is the global definition used by Software Install server (SWIS) sl@0: This is the publish and subscribe property used by SWI to publish the most sl@0: recently installed or updated application. If the application has sl@0: subsequently been uninstalled the value may refer to an application sl@0: that no longer exists. Has value KUidNull if no applications have been sl@0: installed sl@0: sl@0: @publishedAll sl@0: @released sl@0: @capability ECapabilityTrustedUI capability is required to modify the value of this property sl@0: */ sl@0: const TUint KUidSwiLatestInstallation = 0x10272C8E; sl@0: sl@0: /** This is the global definition of KUidUnifiedCertstoreFlag. This publish sl@0: and subscribe property is used to notify users of changes in the unified certstore sl@0: sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: const TUint KUidUnifiedCertstoreFlag = 0x10272C83; sl@0: sl@0: /** sl@0: This is a duplicate of KUidBackupRestoreKey from the secure backup engine's sbdefs.h sl@0: This is the Publish and Subscribe property used by Secure Backup Engine to publish its current sl@0: state. The publish and subscribe key is defined by SysAgent2 server. sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: const TUint KUidBackupRestoreKey = 0x10202792; sl@0: sl@0: /** sl@0: This is the publish and subscribe property used by Secure Software Install to sl@0: Publish package UIDs which are currently being processed. The publish and subscribe key is defined by sl@0: SysAgent2 server, but we do not want to have a dependency to the security subsystem, so we define a sl@0: constant in sacls.h , By doing this it will be available for Core OS layer components. sl@0: sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: const TUint KSWIUidsCurrentlyBeingProcessed= 0x2002D4F4; sl@0: sl@0: // Deprecated - redundant method no longer used by system software sl@0: IMPORT_C TInt StartSysAgt2(); sl@0: sl@0: #endif //__SACLS_H__