|
1 /* |
|
2 * Portions 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 the License "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 // Example configuration file of interpretsis to specify HAL attributes and language |
|
19 // Refer HALData::TAttribute for list of HAL attributes |
|
20 // Refer TLanguage enum for language values |
|
21 // |
|
22 |
|
23 // Identifies the manufacturer of a device. If this is not enumerated in TManufacturer, |
|
24 // then the manufacturer must obtain a value from the Symbian registry. |
|
25 // |
|
26 // <numeric type> |
|
27 MANUFACTURER = 0x00000002 |
|
28 |
|
29 // The device specific hardware version number, as defined by the device manufacturer. |
|
30 // |
|
31 // <numeric type> |
|
32 MANUFACTURERHARDWAREREV = 0x100 |
|
33 |
|
34 // The device specific version number, as defined by the device manufacturer. |
|
35 // |
|
36 // <numeric type> |
|
37 MANUFACTURERSOFTWAREREV = 0x200 |
|
38 |
|
39 // The device specific software version number, as defined by the device manufacturer. |
|
40 // |
|
41 // <numeric type> |
|
42 MANUFACTURERSOFTWAREBUILD = 300 |
|
43 |
|
44 // This is device specific model number, as defined by the device manufacturer. |
|
45 // |
|
46 // <numeric type> |
|
47 MODEL = 0x101FB3E8 |
|
48 |
|
49 // This is the device specific UID, It is unique to the class /model of device. |
|
50 // A value must be obtained from Symbian's UID registry for this attribute. |
|
51 // |
|
52 // <numeric type> |
|
53 MACHINEUID = 0x20000606 |
|
54 |
|
55 // The Symbian OS specified device family identifier. If the device family is not |
|
56 // one of those enumerated by TDeviceFamily, then the licensee must obtain a UID |
|
57 // from Symbian for this attribute. |
|
58 // |
|
59 // <numeric type> |
|
60 DEVICEFAMILY = 0x700 |
|
61 |
|
62 // The Symbian OS specified device family version |
|
63 // |
|
64 // <numeric type> |
|
65 DEVICEFAMILYREV = 0x700 |
|
66 |
|
67 // The CPU architecture used by this device. The values are enumerated by TCPU. |
|
68 // |
|
69 // <numeric type> |
|
70 CPU = 0 |
|
71 |
|
72 // A revision number for the CPU architecture. |
|
73 // |
|
74 // <numeric type> |
|
75 CPUARCH = 0 |
|
76 |
|
77 // This is the default ABI used by CPU for user applications. The values are |
|
78 // enumerated by HALData::TCPUABI. |
|
79 // |
|
80 // <numeric type> |
|
81 CPUABI = 1 |
|
82 |
|
83 // The processor speed in KHz. |
|
84 // |
|
85 // <numeric type> |
|
86 CPUSPEED = 666 |
|
87 |
|
88 // The time between system ticks, in microseconds. |
|
89 // |
|
90 // <numeric type> |
|
91 SYSTEMTICKPERIOD = 2 |
|
92 |
|
93 // The total system RAM, in bytes. |
|
94 // |
|
95 // <numeric type> |
|
96 MEMORYRAM = 999 |
|
97 |
|
98 // The currently free system RAM. |
|
99 // |
|
100 // <numeric type> |
|
101 MEMORYRAMFREE = 0x11223344 |
|
102 |
|
103 // The total System ROM, in bytes. |
|
104 // |
|
105 // <numeric type> |
|
106 MEMORYROM = 0xDEADBEEF |
|
107 |
|
108 // The MMU page size in bytes. |
|
109 // |
|
110 // <numeric type> |
|
111 MEMORYPAGESIZE = 1024 |
|
112 |
|
113 // Indicates whether a backup power supply is available. It has the |
|
114 // values: 0 = the device does not support (or need) a backup battery |
|
115 // source; 1 = a backup batter source is present. This is dynamic |
|
116 // and readonly |
|
117 // |
|
118 // <numeric type> / <boolean type> / <yes/no type> |
|
119 POWERBACKUP = false |
|
120 |
|
121 // A bitmask that describes the available keyboard types (it may support more than one). |
|
122 // |
|
123 // <numeric type> |
|
124 KEYBOARD = 1 |
|
125 |
|
126 // (No documentation) |
|
127 // |
|
128 // <numeric type> |
|
129 KEYBOARDDEVICEKEYS = 3 |
|
130 |
|
131 // (No documentation) |
|
132 // |
|
133 // <numeric type> |
|
134 KEYBOARDAPPKEYS = 0 |
|
135 |
|
136 // Indicates whether the device can produce a click sound for each keypress. |
|
137 // It has the values: 0 = the device cannot produce a click sound for each |
|
138 // keypress; 1 = the device can produce a click sound. |
|
139 // |
|
140 // <numeric type> / <boolean type> / <yes/no type> |
|
141 KEYBOARDCLICK = 1 // Can also be true/false |
|
142 |
|
143 // The maximum value for EKeyboardClickVolume |
|
144 // |
|
145 // <numeric type> |
|
146 KEYBOARDCLICKVOLUMEMAX = 10 |
|
147 |
|
148 // The screen horizontal dimension in pixels. |
|
149 // |
|
150 // <numeric type> |
|
151 DISPLAYXPIXELS = 640 |
|
152 |
|
153 // The screen vertical dimension in pixels. |
|
154 // |
|
155 // <numeric type> |
|
156 DISPLAYYPIXELS = 480 |
|
157 |
|
158 // The screen horizontal dimension in twips. |
|
159 // |
|
160 // <numeric type> |
|
161 DISPLAYXTWIPS = 3200 |
|
162 |
|
163 // The screen vertical dimension in twips. |
|
164 // |
|
165 // <numeric type> |
|
166 DISPLAYYTWIPS = 1440 |
|
167 |
|
168 // The number of hues (colors or shades of grey) displayable on the screen. |
|
169 // |
|
170 // <numeric type> |
|
171 DISPLAYCOLORS = 0x1000 |
|
172 |
|
173 // The maximum value for EDisplayContrast |
|
174 // |
|
175 // <numeric type> |
|
176 DISPLAYCONTRASTMAX = 0x666 |
|
177 |
|
178 // Indicates whether there is a backlight on the device. |
|
179 // It has the values: 0 = there is no screen backlight; |
|
180 // 1 = a screen backlight is present. |
|
181 // |
|
182 // <numeric type> / <boolean type> / <yes/no type> |
|
183 BACKLIGHT = false |
|
184 |
|
185 // Indicates whether a pen or digitizer is available for input. |
|
186 // It has the values: 0 = a pen/digitizer is not available for |
|
187 // input; 1 = a pen/digitizeris present. |
|
188 // |
|
189 // <numeric type> / <boolean type> / <yes/no type> |
|
190 PEN = false |
|
191 |
|
192 // The pen/digitizer horizontal resolution, in pixels. |
|
193 // |
|
194 // <numeric type> |
|
195 PENX = 0 |
|
196 |
|
197 // The is the pen/digitizer vertical resolution, in pixels. |
|
198 // |
|
199 // <numeric type> |
|
200 PENY = 0 |
|
201 |
|
202 // Indicates whether a pen tap will turn the display on. |
|
203 // It has the values: 0 = a pen tap has no effect; 1 = a pent tap or |
|
204 // press enables the display. |
|
205 // |
|
206 // <numeric type> / <boolean type> / <yes/no type> |
|
207 PENDISPLAYON = no |
|
208 |
|
209 // Indicates whether the device can produce a click sound for each pen tap. |
|
210 // |
|
211 // It has the values: 0 = the device cannot produce a click sound 1 = |
|
212 // production of a click sound is supported by the device. |
|
213 // |
|
214 // <numeric type> / <boolean type> / <yes/no type> |
|
215 PENCLICK = yes |
|
216 |
|
217 // The maximum value for EPenClickVolume. |
|
218 // |
|
219 // <numeric type> |
|
220 PENCLICKVOLUMEMAX = 10 |
|
221 |
|
222 // Indicates whether a mouse is available for input. |
|
223 // |
|
224 // It has the values: 0 = there is no mouse available |
|
225 // or pen/digitizer present; 1 = a mouse is available for input. |
|
226 // |
|
227 // <numeric type> / <boolean type> / <yes/no type> |
|
228 MOUSE = false |
|
229 |
|
230 // The mouse horizontal resolution, in pixels. |
|
231 // |
|
232 // <numeric type> |
|
233 MOUSEX = 0 |
|
234 |
|
235 // The mouse vertical resolution, in pixels. |
|
236 // |
|
237 // <numeric type> |
|
238 MOUSEY = 0 |
|
239 |
|
240 // The number of buttons on the mouse. |
|
241 // |
|
242 // <numeric type> |
|
243 MOUSEBUTTONS = 3 |
|
244 |
|
245 // Indicates whether the device has a case switch, that actions when the case opens and closes. |
|
246 // It has values: 0 = no; 1 = yes. |
|
247 // |
|
248 // <numeric type> / <boolean type> / <yes/no type> |
|
249 CASESWITCH = true |
|
250 |
|
251 // The number of LEDs on the device. |
|
252 // |
|
253 // <numeric type> |
|
254 LEDS = 2 |
|
255 |
|
256 // Indicates how the phone hardware is connected. |
|
257 // |
|
258 // It has the values: 0 = phone hardware is not permanently |
|
259 // connected; 1 = phone hardware is permanently connected. |
|
260 // |
|
261 // <numeric type> / <boolean type> / <yes/no type> |
|
262 INTEGRATEDPHONE = false |
|
263 |
|
264 // (Undocumented) |
|
265 // |
|
266 // <numeric type> |
|
267 DISPLAYBRIGHTNESS = 10 |
|
268 |
|
269 // (Undocumented) |
|
270 // |
|
271 // <numeric type> |
|
272 DISPLAYBRIGHTNESSMAX = 10 |
|
273 |
|
274 // Indicates the state of the keyboard backlight. |
|
275 // It has the values: 0 = keyboard backlight is off; 1 = keyboard backlight is on. |
|
276 // |
|
277 // <numeric type> / <boolean type> / <yes/no type> |
|
278 KEYBOARDBACKLIGHTSTATE = 0 |
|
279 |
|
280 // Power supply to an accessory port. |
|
281 // |
|
282 // It has the values: 0 = turn off power to an accessory port on the device; |
|
283 // 1 = turn on power. |
|
284 // |
|
285 // <numeric type> / <boolean type> / <yes/no type> |
|
286 ACCESSORYPOWER = false |
|
287 |
|
288 // Defines the system drive (0-25) |
|
289 // |
|
290 // <numeric type> |
|
291 SYSTEMDRIVE = 2 // EDriveC |
|
292 |
|
293 // Indicates whether hardware floating point is available, and what type. |
|
294 // |
|
295 // <numeric type> |
|
296 FPHARDWARE = 0 |
|
297 |
|
298 // The number of HAL attributes. |
|
299 // |
|
300 // <numeric type> |
|
301 NUMHALATTRIBUTES = 10 |
|
302 |
|
303 // Language code for the device |
|
304 // Refer TLanguage enum for language values |
|
305 // <numeric type> |
|
306 LANGUAGE = 2 // French |
|
307 |