|
1 /* |
|
2 * Copyright (c) 2006-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: Avkon Domain Publish & Subscribe keys. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef AVKONDOMAINPSKEYS_H |
|
19 #define AVKONDOMAINPSKEYS_H |
|
20 |
|
21 const TUid KPSUidAvkonDomain = { 0x10207218 }; // Same as KPSUidAvkonInternal |
|
22 |
|
23 /** |
|
24 * Indicates the status of Keyguard |
|
25 * |
|
26 * Possible values are: |
|
27 * |
|
28 * 0: Keyguard is not active |
|
29 * 1: Keys are locked |
|
30 * 2: Autolock emulation enabled |
|
31 * |
|
32 */ |
|
33 const TUint32 KAknKeyguardStatus = 0x00000001; |
|
34 |
|
35 enum TAknKeyguardStatus |
|
36 { |
|
37 EKeyguardNotActive, |
|
38 EKeyguardLocked, |
|
39 EKeyguardAutolockEmulation |
|
40 }; |
|
41 |
|
42 |
|
43 /** |
|
44 * TFX Server Status P&S key |
|
45 * Indicates transition server state |
|
46 * 0x1: True if TFXServer is running |
|
47 */ |
|
48 const TUint32 KAknTfxServerStatus = 0x00000002; |
|
49 enum TAknTfxServerStatus |
|
50 { |
|
51 ETfxSrvRunning = 0x1, |
|
52 }; |
|
53 |
|
54 /** |
|
55 * TFX Server redirection status P&S key |
|
56 * Indicates whether TFXServer is using redirected drawing |
|
57 * 0x1: True if drawing is redirected |
|
58 */ |
|
59 const TUint32 KAknTfxServerRedirectionStatus = 0x00000003; |
|
60 enum TAknTfxServerRedirectionStatus |
|
61 { |
|
62 ETfxScreenRedirected = 0x1, |
|
63 }; |
|
64 |
|
65 /** |
|
66 * Indicates the power menu status. |
|
67 * Possible values are: |
|
68 * 0: Power menu is not open |
|
69 * 1: Power menu is open |
|
70 */ |
|
71 const TUint32 KAknPowerMenuStatus = 0x00000004; |
|
72 enum TAknPowerMenuStatus |
|
73 { |
|
74 EPowerMenuNotOpen, |
|
75 EPowerMenuOpen |
|
76 }; |
|
77 |
|
78 /** |
|
79 * Indicates that the combined end key / power key has been pressed. An event is sent only when |
|
80 * the device is in the idle state. "Pure event distribution" pattern is used, therefore the |
|
81 * actual value is meaningless. |
|
82 */ |
|
83 const TUint32 KAknEndKeyEvent = 0x00000005; |
|
84 |
|
85 /** |
|
86 * Contains positive integer in following cases: |
|
87 * 1) Idle application is on foreground. |
|
88 * 2) Screensaver is on foreground, but idle application is beneath it. |
|
89 * Possible global notifiers between those applications are ignored. |
|
90 * Otherwise the value is zero. |
|
91 */ |
|
92 const TUint32 KAknNotificationsInIdleAllowed = 0x00000006; |
|
93 |
|
94 /** |
|
95 * Indicates that the number of running global discreet popup changed. |
|
96 * This is a pure event distribution, property value is meaningless. |
|
97 */ |
|
98 const TUint32 KAknGlobalDiscreetPopupNumChanged = 0x00000007; |
|
99 |
|
100 #endif |
|
101 |
|
102 // End of file |