|
1 /* |
|
2 * Copyright (c) 2008 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: Header file for central repository keys, used in GSAccessoryPlugin, and GSServerEngine |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef ACCESSORIESCRKEYS_H |
|
19 #define ACCESSORIESCRKEYS_H |
|
20 |
|
21 #include <e32def.h> |
|
22 |
|
23 /** |
|
24 * Accessory settings CR UID |
|
25 */ |
|
26 const TUid KCRUidAccessorySettings = {0x101F8779}; |
|
27 |
|
28 /** |
|
29 * Automatic answer in carkit |
|
30 * |
|
31 * Possible values are: |
|
32 * 0 = No automatic answer in headset |
|
33 * 1 = Automatic answer in headset |
|
34 */ |
|
35 const TUint32 KSettingsCarKitAutomaticAnswer = 0x00000001; |
|
36 |
|
37 /** |
|
38 * Automatic answer in headset |
|
39 * |
|
40 * Possible values are: |
|
41 * 0 = No automatic answer in headset |
|
42 * 1 = Automatic answer in headset |
|
43 */ |
|
44 const TUint32 KSettingsHeadsetAutomaticAnswer = 0x00000002; |
|
45 |
|
46 /** |
|
47 * Automatic answer in bluetooth |
|
48 * |
|
49 * Possible values are: |
|
50 * 0 = No automatic answer in bluetooth |
|
51 * 1 = Automatic answer in bluetooth |
|
52 */ |
|
53 const TUint32 KSettingsBTAudioAutomaticAnswer = 0x00000003; |
|
54 |
|
55 /** |
|
56 * Information about if the loopset is in use. |
|
57 * |
|
58 * Possible values are: |
|
59 * 0 = Loopset is not in use |
|
60 * 1 = Loopset is in use |
|
61 */ |
|
62 const TUint32 KSettingsLoopsetInUse = 0x00000004; |
|
63 |
|
64 /** |
|
65 * Automatic answer in loopset |
|
66 * |
|
67 * Possible values are: |
|
68 * 0 = No automatic answer in loopset |
|
69 * 1 = Automatic answer in loopset |
|
70 */ |
|
71 const TUint32 KSettingsLoopsetAutomaticAnswer = 0x00000005; |
|
72 |
|
73 /** |
|
74 * Information about which accessory is in use. |
|
75 * |
|
76 * Possible values are: |
|
77 * 0 = headset |
|
78 * 1 = loopset |
|
79 * 2 = TTY |
|
80 **/ |
|
81 const TUint32 KSettingsAccessoryInUse = 0x00000006; |
|
82 |
|
83 /** |
|
84 * Automatic answer in music stand |
|
85 * |
|
86 * Possible values are: |
|
87 * 0 = No automatic answer in music stand |
|
88 * 1 = Automatic answer in music stand |
|
89 */ |
|
90 const TUint32 KSettingsMusicStandAutomaticAnswer = 0x00000007; |
|
91 |
|
92 /** |
|
93 * Automatic answer in car kit |
|
94 * |
|
95 * Possible values are: |
|
96 * 0 = No automatic answer in car kit |
|
97 * 1 = Automatic answer in car kit |
|
98 */ |
|
99 const TUint32 KSettingsTTYAutomaticAnswer = 0x00000008; |
|
100 |
|
101 /** |
|
102 * Use loopset |
|
103 * |
|
104 * Possible values are: |
|
105 * 0 = Loopset not in use |
|
106 * 1 = Loopset in use |
|
107 */ |
|
108 const TUint32 KSettingsUseLoopset = 0x00000009; |
|
109 |
|
110 /** |
|
111 * Wireless Carkit automatic answer |
|
112 * |
|
113 * Possible values are: |
|
114 * 0 = Automatic answer is off |
|
115 * 1 = Automatic answer is on |
|
116 */ |
|
117 const TUint32 KSettingsWirelessCarkitAutomaticAnswer = 0x00000010; |
|
118 |
|
119 /** |
|
120 * Headset Ringing Tone Routing |
|
121 * |
|
122 * Possible values are: |
|
123 * 0 = Routing is Headset and Handset |
|
124 * 1 = Routing is Headset |
|
125 */ |
|
126 const TUint32 KSettingsHeadsetRingingToneRouting = 0x00000011; |
|
127 |
|
128 /** |
|
129 * Headphones Ringing Tone Routing |
|
130 * |
|
131 * Possible values are: |
|
132 * 0 = Routing is Headset and Handset |
|
133 * 1 = Routing is Headset |
|
134 */ |
|
135 const TUint32 KSettingsHeadphonesRingingToneRouting = 0x00000012; |
|
136 |
|
137 /** |
|
138 * Default Accessory. |
|
139 * Possible values are: |
|
140 * 0 = Headset |
|
141 * 1 = Headphones |
|
142 * 2 = Wired Car kit |
|
143 * 3 = Wireless carkit |
|
144 * 4 = Music Stand |
|
145 * 5 = Tvout |
|
146 * 6 = Loopset |
|
147 * 7 = Textphone |
|
148 */ |
|
149 const TUint32 KSettingsAccDefaultInfo = 0x00000013; |
|
150 |
|
151 /** |
|
152 * Wired carkit accessory support |
|
153 * |
|
154 * Possible values are: |
|
155 * 0 = accessory is not supported |
|
156 * 1 = accessory is supported |
|
157 */ |
|
158 const TUint32 KSettingsAccWiredCarkitSupported = 0x00000014; |
|
159 |
|
160 /** |
|
161 * Wireless carkit accessory support |
|
162 * |
|
163 * Possible values are: |
|
164 * 0 = accessory is not supported |
|
165 * 1 = accessory is supported |
|
166 */ |
|
167 const TUint32 KSettingsAccWirelessCarkitSupported = 0x00000015; |
|
168 |
|
169 /** |
|
170 * Loopset accessory support |
|
171 * |
|
172 * Possible values are: |
|
173 * 0 = accessory is not supported |
|
174 * 1 = accessory is supported |
|
175 */ |
|
176 const TUint32 KSettingsAccLoopsetSupported = 0x00000016; |
|
177 |
|
178 /** |
|
179 * Profile settings CR UID. |
|
180 */ |
|
181 const TUid KCRUidProfileSettings = {0x101F877D}; |
|
182 |
|
183 /** |
|
184 * Bluetooth default profile, profile id. |
|
185 * |
|
186 */ |
|
187 const TUint32 KSettingsBTDefaultProfile = 0x00000001; |
|
188 |
|
189 /** |
|
190 * Headset default profile, profile id. |
|
191 */ |
|
192 const TUint32 KSettingsHeadsetDefaultProfile = 0x00000002; |
|
193 |
|
194 /** |
|
195 * TTY default profile, profile id. |
|
196 */ |
|
197 const TUint32 KSettingsTTYDefaultProfile = 0x00000003; |
|
198 |
|
199 /** |
|
200 * Loopset default profile, profile id. |
|
201 */ |
|
202 const TUint32 KSettingsLoopsetDefaultProfile = 0x00000004; |
|
203 |
|
204 /** |
|
205 * Music Stand default profile, profile id. |
|
206 */ |
|
207 const TUint32 KSettingsMusicStandDefaultProfile = 0x00000005; |
|
208 |
|
209 /** |
|
210 * Car Kit default profile, profile id. |
|
211 */ |
|
212 const TUint32 KSettingsCarKitDefaultProfile = 0x00000006; |
|
213 |
|
214 /** |
|
215 * Wireless Car Kit default profile, profile id. |
|
216 */ |
|
217 const TUint32 KSettingsWirelessCarkitDefaultProfile = 0x00000007; |
|
218 |
|
219 /** |
|
220 * Headphones default profile, profile id. |
|
221 */ |
|
222 const TUint32 KSettingsHeadphonesDefaultProfile = 0x00000008; |
|
223 |
|
224 /** |
|
225 * Tv out default profile, profile id. |
|
226 */ |
|
227 const TUint32 KSettingsTvOutDefaultProfile = 0x00000009; |
|
228 |
|
229 /** |
|
230 * Settings for Lights features |
|
231 */ |
|
232 const TUid KCRUidAccessoryLightSettings = {0x10207194}; |
|
233 |
|
234 /** |
|
235 * Defines the display light duration for Music Stand accessory. |
|
236 * |
|
237 * 0 = (Normal) |
|
238 * 1 = (Always ON) |
|
239 */ |
|
240 const TUint32 KSettingsMusicStandLights = 0x00000001; |
|
241 |
|
242 /** |
|
243 * Defines the display light duration for Car kit accessory. |
|
244 * |
|
245 * 0 = (Normal) |
|
246 * 1 = (Always ON) |
|
247 */ |
|
248 const TUint32 KSettingsCarKitLights = 0x00000002; |
|
249 |
|
250 |
|
251 /** Following keys belong to category KCRUidTvoutSettings */ |
|
252 |
|
253 /** |
|
254 * TV-out settings CR UID |
|
255 */ |
|
256 const TUid KCRUidTvoutSettings = {0x1020730B}; |
|
257 |
|
258 /** |
|
259 * TV-out aspect ratio. |
|
260 * Possible values are: |
|
261 * 0 = 4x3 |
|
262 * 1 = 16x9 |
|
263 */ |
|
264 const TUint32 KSettingsTvAspectRatio = 0x00000001; |
|
265 |
|
266 /** |
|
267 * TV-out system info. |
|
268 * Possible values are: |
|
269 * 0 = PAL |
|
270 * 1 = PALM |
|
271 * 2 = NTSC |
|
272 */ |
|
273 const TUint32 KSettingsTvSystemInfo = 0x00000002; |
|
274 |
|
275 /** |
|
276 * TV-out default text. |
|
277 * String value. |
|
278 */ |
|
279 const TUint32 KSettingsTvDefaultText = 0x00000003; |
|
280 |
|
281 |
|
282 /** |
|
283 * TV-out Flicker Filter. |
|
284 * Possible values are: |
|
285 * 0 = Off |
|
286 * 1 = On |
|
287 */ |
|
288 const TUint32 KSettingsTvoutFlickerFilter = 0x00000004; |
|
289 |
|
290 /** |
|
291 * TV-out Horizontal overscan |
|
292 * Default value: 500 |
|
293 */ |
|
294 const TUint32 KSettingsTvoutHorizontalOverscan = 0x00000005; |
|
295 |
|
296 /** |
|
297 * TV-out Vertical overscan |
|
298 * Default value: 500 |
|
299 */ |
|
300 const TUint32 KSettingsTvoutVerticalOverscan = 0x00000006; |
|
301 |
|
302 /** |
|
303 * PALM option visibility |
|
304 * 0 = not visible (default) |
|
305 * 1 = visible |
|
306 */ |
|
307 const TUint32 KSettingsTvoutPalmVisibility = 0x00000007; |
|
308 |
|
309 |
|
310 |
|
311 #endif // ACCESSORIESCRKEYS_H |