1 /* |
|
2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Private Publish&Subscribe definitions of the |
|
15 * Security UIs subsystem |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef SECURITYUISPRIVATEPSKEYS_H |
|
21 #define SECURITYUISPRIVATEPSKEYS_H |
|
22 |
|
23 // INCLUDES |
|
24 |
|
25 //CONSTANTS |
|
26 |
|
27 const TUid KPSUidSecurityUIs = { 0x100059b5 }; |
|
28 // ============================================================================= |
|
29 // Security Code UI Originator API |
|
30 // ============================================================================= |
|
31 |
|
32 // Use TUid KPSUidSecurityUIs = { 0x100059b5 } |
|
33 |
|
34 /** |
|
35 * Used by SecUI to differentiate between ETel API originated and SecUI originated |
|
36 * security queries. |
|
37 * Old Shared Data constant name: KSecUIOriginatedQuery |
|
38 */ |
|
39 const TUint32 KSecurityUIsSecUIOriginatedQuery = 0x00000301; |
|
40 enum TSecurityUIsSecUIOriginatedQuery |
|
41 { |
|
42 ESecurityUIsSecUIOriginatedUninitialized = 0, |
|
43 ESecurityUIsETelAPIOriginated, |
|
44 ESecurityUIsSecUIOriginated, |
|
45 ESecurityUIsSystemLockOriginated, |
|
46 ESecurityUIsFpsOriginated |
|
47 }; |
|
48 |
|
49 /** |
|
50 * Used by SecUI to tell if a query request set by some ETELMM API lock setting function (i.e. SetXXXXSetting) |
|
51 * has been canceled since canceling the setting request does not prompt a query cancel event from ETEL. |
|
52 * Old Shared Data constant name: KSecUIOriginatedQuery |
|
53 */ |
|
54 const TUint32 KSecurityUIsQueryRequestCancel = 0x00000302; |
|
55 enum TSecurityUIsQueryRequestCancel |
|
56 { |
|
57 ESecurityUIsQueryRequestUninitialized = 0, |
|
58 ESecurityUIsQueryRequestOk, |
|
59 ESecurityUIsQueryRequestCanceled |
|
60 }; |
|
61 |
|
62 /** |
|
63 * Used by Autolock to tell which application has enabled/disabled the keyguard/devicelock , and at which moment. |
|
64 */ |
|
65 const TUint32 KSecurityUIsLockInitiatorUID = 0x00000303; |
|
66 const TUint32 KSecurityUIsLockInitiatorTimeHigh = 0x00000304; |
|
67 const TUint32 KSecurityUIsLockInitiatorTimeLow = 0x00000305; |
|
68 |
|
69 /** |
|
70 * Used to tell SysAp to switch-on the lights. |
|
71 */ |
|
72 const TUint32 KSecurityUIsLights = 0x00000308; |
|
73 enum TSecurityUIsLights |
|
74 { |
|
75 ESecurityUIsLightsUninitialized = 0, |
|
76 ESecurityUIsLightsLockOnRequest, |
|
77 ESecurityUIsLightsQueryOnRequest, |
|
78 ESecurityUIsLightsLockOffRequest, |
|
79 ESecurityUIsLightsLastValue |
|
80 }; |
|
81 |
|
82 #endif // SECURITYUISPRIVATEPSKEYS_H |
|
83 |
|
84 // End of File |
|