|
1 /* |
|
2 * Copyright (c) 2006-2009 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef HWRMLIGHTDOMAINCRKEYS_H |
|
22 #define HWRMLIGHTDOMAINCRKEYS_H |
|
23 |
|
24 #include <e32cmn.h> |
|
25 |
|
26 /** |
|
27 * Light Settings repository UID. |
|
28 * |
|
29 * @publishedPartner |
|
30 * @released |
|
31 */ |
|
32 const TUid KCRUidLightSettings = {0x10200C8C}; |
|
33 |
|
34 |
|
35 /** |
|
36 * Default value for light intensity as percentage. |
|
37 * |
|
38 * This value is used by HWRM server when calls that |
|
39 * affect lights do not include intensity parameter. |
|
40 * |
|
41 * Possible integer values: |
|
42 * |
|
43 * 0 - 100 Percentage |
|
44 * |
|
45 * Default value: 50 |
|
46 * |
|
47 * @publishedPartner |
|
48 * @released |
|
49 */ |
|
50 const TUint32 KLightIntensity = 0x00000001; |
|
51 |
|
52 /** |
|
53 * Default value for light sensor sensitivity. |
|
54 * |
|
55 * This value is used by HWRM server when calls |
|
56 * default intensity is used and sensor is enabled. |
|
57 * |
|
58 * Possible integer values: |
|
59 * |
|
60 * 0 - 100 Percentage |
|
61 * |
|
62 * Default value: 50 |
|
63 * |
|
64 * @publishedPartner |
|
65 * @released |
|
66 */ |
|
67 const TUint32 KLightSensorSensitivity = 0x00000002; |
|
68 |
|
69 /** |
|
70 * Boolen value is light sensor used or not. |
|
71 * |
|
72 * Possible integer values: |
|
73 * |
|
74 * 0 - Sensor is not in use |
|
75 * 1 - Sensor is in use |
|
76 * |
|
77 * Default value: 1 |
|
78 * |
|
79 * @publishedPartner |
|
80 * @released |
|
81 */ |
|
82 const TUint32 KLightSensorInUse = 0x00000003; |
|
83 |
|
84 /** |
|
85 * Contains bitmask of supported targets. |
|
86 * |
|
87 * @see CHWRMExtendedLight::TLightTarget for target enumeration. |
|
88 * |
|
89 * @publishedPartner |
|
90 * @released |
|
91 */ |
|
92 const TUint32 KLightTargetMask = 0x00000004; |
|
93 |
|
94 /** |
|
95 * Contains bitmask of targets that are under sensor control |
|
96 * |
|
97 * @see CHWRMLight::TLightTarget for target enumeration. |
|
98 * |
|
99 * @publishedPartner |
|
100 * @released |
|
101 */ |
|
102 const TUint32 KLightSensorMask = 0x00000005; |
|
103 |
|
104 /** |
|
105 * Timeout for setting off the display lights. |
|
106 * Value is in seconds. |
|
107 * |
|
108 * @publishedPartner |
|
109 * @released |
|
110 */ |
|
111 const TUint32 KDisplayLightsTimeout = 0x00000006; |
|
112 |
|
113 |
|
114 #endif // HWRMLIGHTDOMAINCRKEYS_H |
|
115 |
|
116 // End of File |