1 |
/**
|
2 |
* Navit, a modular navigation system.
|
3 |
* Copyright (C) 2005-2009 Navit Team
|
4 |
*
|
5 |
* This program is free software; you can redistribute it and/or
|
6 |
* modify it under the terms of the GNU Library General Public License
|
7 |
* version 2 as published by the Free Software Foundation.
|
8 |
*
|
9 |
* This program is distributed in the hope that it will be useful,
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12 |
* GNU Library General Public License for more details.
|
13 |
*
|
14 |
* You should have received a copy of the GNU Library General Public
|
15 |
* License along with this program; if not, write to the
|
16 |
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
17 |
* Boston, MA 02110-1301, USA.
|
18 |
*/
|
19 |
|
20 |
/* prototypes */
|
21 |
|
22 |
/* common */
|
23 |
ATTR2(0x00000000,none)
|
24 |
ATTR(any)
|
25 |
ATTR(any_xml)
|
26 |
|
27 |
ATTR2(0x00010000,type_item_begin)
|
28 |
ATTR(town_streets_item)
|
29 |
ATTR(street_name_item)
|
30 |
ATTR(street_name_numbers_item)
|
31 |
ATTR(street_item)
|
32 |
ATTR(street_number_item)
|
33 |
ATTR(position_sat_item)
|
34 |
ATTR(current_item)
|
35 |
ATTR2(0x0001ffff,type_item_end)
|
36 |
|
37 |
ATTR2(0x00020000,type_int_begin)
|
38 |
ATTR(h_remove)
|
39 |
ATTR(id)
|
40 |
ATTR(flags)
|
41 |
ATTR(w_remove)
|
42 |
ATTR(x_remove)
|
43 |
ATTR(y_remove)
|
44 |
ATTR(flush_size)
|
45 |
ATTR(flush_time)
|
46 |
ATTR(zipfile_ref)
|
47 |
ATTR(country_id)
|
48 |
ATTR(position_sats)
|
49 |
ATTR(position_sats_used)
|
50 |
ATTR(update)
|
51 |
ATTR(follow)
|
52 |
ATTR(length)
|
53 |
ATTR(time)
|
54 |
ATTR(destination_length)
|
55 |
ATTR(destination_time)
|
56 |
ATTR(speed)
|
57 |
ATTR(interval)
|
58 |
ATTR(position_qual)
|
59 |
ATTR(zoom)
|
60 |
ATTR(retry_interval)
|
61 |
ATTR(projection)
|
62 |
ATTR(offroad)
|
63 |
ATTR(vocabulary_name)
|
64 |
ATTR(vocabulary_name_systematic)
|
65 |
ATTR(vocabulary_distances)
|
66 |
ATTR(announce_name_systematic_first)
|
67 |
ATTR(antialias)
|
68 |
ATTR(order_delta)
|
69 |
ATTR(baudrate)
|
70 |
ATTR(font_size_remove)
|
71 |
ATTR(icon_xs)
|
72 |
ATTR(icon_l)
|
73 |
ATTR(icon_s)
|
74 |
ATTR(spacing)
|
75 |
ATTR(recent_dest)
|
76 |
ATTR(destination_distance)
|
77 |
ATTR(check_version)
|
78 |
ATTR(details)
|
79 |
ATTR(width)
|
80 |
ATTR(offset)
|
81 |
ATTR(directed)
|
82 |
ATTR(radius)
|
83 |
ATTR(text_size)
|
84 |
ATTR(level)
|
85 |
ATTR(icon_w)
|
86 |
ATTR(icon_h)
|
87 |
ATTR(rotation)
|
88 |
ATTR(checksum_ignore)
|
89 |
ATTR(position_fix_type)
|
90 |
ATTR(timeout)
|
91 |
ATTR(orientation)
|
92 |
ATTR(keyboard)
|
93 |
ATTR(position_sats_signal)
|
94 |
ATTR(cps)
|
95 |
ATTR(fast)
|
96 |
ATTR(osd_configuration)
|
97 |
ATTR(columns)
|
98 |
ATTR(align)
|
99 |
ATTR(sat_prn)
|
100 |
ATTR(sat_elevation)
|
101 |
ATTR(sat_azimuth)
|
102 |
ATTR(sat_snr)
|
103 |
ATTR(autozoom)
|
104 |
ATTR(version)
|
105 |
ATTR(autozoom_min)
|
106 |
ATTR(maxspeed)
|
107 |
ATTR(cdf_histsize)
|
108 |
ATTR(message_maxage)
|
109 |
ATTR(message_maxnum)
|
110 |
ATTR(pitch)
|
111 |
ATTR(roll)
|
112 |
ATTR(yaw)
|
113 |
ATTR(route_status)
|
114 |
ATTR(route_weight)
|
115 |
ATTR(distance_metric)
|
116 |
ATTR(route_mode)
|
117 |
ATTR(maxspeed_handling)
|
118 |
ATTR(flags_forward_mask)
|
119 |
ATTR(flags_reverse_mask)
|
120 |
ATTR(house_number_interpolation)
|
121 |
ATTR(house_number_left_interpolation)
|
122 |
ATTR(house_number_right_interpolation)
|
123 |
ATTR(delay)
|
124 |
ATTR(lag)
|
125 |
ATTR(bpp)
|
126 |
ATTR(fullscreen)
|
127 |
ATTR(windowid)
|
128 |
ATTR(hog)
|
129 |
ATTR(flags_town)
|
130 |
ATTR(flags_street)
|
131 |
ATTR(flags_house_number)
|
132 |
ATTR(use_camera)
|
133 |
ATTR(flags_graphics)
|
134 |
ATTR(zoom_min)
|
135 |
ATTR(zoom_max)
|
136 |
ATTR(gamma)
|
137 |
ATTR(brightness)
|
138 |
ATTR(contrast)
|
139 |
ATTR(height)
|
140 |
ATTR(minspeed)
|
141 |
ATTR(recspeed)
|
142 |
ATTR(speed_cond)
|
143 |
ATTR(shmkey)
|
144 |
ATTR(vehicle_width)
|
145 |
ATTR(vehicle_length)
|
146 |
ATTR(vehicle_height)
|
147 |
ATTR(vehicle_weight)
|
148 |
ATTR(vehicle_axle_weight)
|
149 |
ATTR(vehicle_dangerous_goods)
|
150 |
ATTR(shmsize)
|
151 |
ATTR(shmoffset)
|
152 |
ATTR(speed_category)
|
153 |
ATTR(static_speed)
|
154 |
ATTR(static_distance)
|
155 |
ATTR(through_traffic_penalty)
|
156 |
ATTR(through_traffic_flags)
|
157 |
ATTR(speed_exceed_limit_offset)
|
158 |
ATTR(speed_exceed_limit_percent)
|
159 |
ATTR(map_border)
|
160 |
ATTR(angle_pref)
|
161 |
ATTR(connected_pref)
|
162 |
ATTR(nostop_pref)
|
163 |
ATTR(offroad_limit_pref)
|
164 |
ATTR(route_pref)
|
165 |
ATTR(overspeed_pref)
|
166 |
ATTR(overspeed_percent_pref)
|
167 |
ATTR(autosave_period)
|
168 |
ATTR(tec_type)
|
169 |
ATTR(tec_dirtype)
|
170 |
ATTR(tec_direction)
|
171 |
ATTR(imperial)
|
172 |
ATTR(update_period)
|
173 |
ATTR(tunnel_extrapolation)
|
174 |
ATTR(route_prio_weight)
|
175 |
ATTR(debugsplitway)
|
176 |
ATTR2(0x00027500,type_rel_abs_begin)
|
177 |
/* These attributes are int that can either hold relative *
|
178 |
* or absolute values. A relative value is indicated by *
|
179 |
* adding 0x60000000. *
|
180 |
* *
|
181 |
* The range of valid absolute values is -0x40000000 to *
|
182 |
* 0x40000000, the range of relative values is from *
|
183 |
* -0x20000000 to 0x20000000. */
|
184 |
ATTR(h)
|
185 |
ATTR(w)
|
186 |
ATTR(x)
|
187 |
ATTR(y)
|
188 |
ATTR(font_size)
|
189 |
|
190 |
ATTR2(0x00028000,type_boolean_begin)
|
191 |
/* boolean */
|
192 |
ATTR(overwrite)
|
193 |
ATTR(active)
|
194 |
ATTR(follow_cursor)
|
195 |
ATTR(orientation_removeme)
|
196 |
ATTR(tracking)
|
197 |
ATTR(menubar)
|
198 |
ATTR(statusbar)
|
199 |
ATTR(toolbar)
|
200 |
ATTR(animate)
|
201 |
ATTR(lazy)
|
202 |
ATTR(mkdir)
|
203 |
ATTR(predraw)
|
204 |
ATTR(postdraw)
|
205 |
ATTR(button)
|
206 |
ATTR(ondemand)
|
207 |
ATTR(menu_on_map_click)
|
208 |
ATTR(direction)
|
209 |
ATTR(route_follow_straight_REMOVE) // This is to be removed with the next version
|
210 |
ATTR(gui_speech)
|
211 |
ATTR(town_id) /* fixme? */
|
212 |
ATTR(street_id) /* fixme? */
|
213 |
ATTR(district_id) /* fixme? */
|
214 |
ATTR(drag_bitmap)
|
215 |
ATTR(use_mousewheel)
|
216 |
ATTR(fullscreen_old)
|
217 |
ATTR(position_magnetic_direction)
|
218 |
ATTR(use_overlay)
|
219 |
ATTR(night_mode)
|
220 |
ATTR(autozoom_active)
|
221 |
ATTR(position_valid)
|
222 |
ATTR(frame)
|
223 |
ATTR(tell_street_name)
|
224 |
ATTR(bluetooth)
|
225 |
ATTR(signal_on_map_click)
|
226 |
ATTR(route_active)
|
227 |
ATTR(search_active)
|
228 |
ATTR(unsuspend)
|
229 |
ATTR(announce_on)
|
230 |
ATTR(disable_reset)
|
231 |
ATTR(autostart)
|
232 |
ATTR(readwrite)
|
233 |
ATTR(cache)
|
234 |
ATTR(create)
|
235 |
ATTR(persistent)
|
236 |
ATTR(duplicate_way)
|
237 |
ATTR(colour2)
|
238 |
ATTR(capacity)
|
239 |
ATTR2(0x0002ffff,type_int_end)
|
240 |
ATTR2(0x00030000,type_string_begin)
|
241 |
ATTR(type)
|
242 |
ATTR(label)
|
243 |
ATTR(data)
|
244 |
ATTR(charset)
|
245 |
ATTR(country_all)
|
246 |
ATTR(country_iso3)
|
247 |
ATTR(country_iso2)
|
248 |
ATTR(country_car)
|
249 |
ATTR(country_name)
|
250 |
ATTR(town_name)
|
251 |
ATTR(town_postal)
|
252 |
ATTR(district_name)
|
253 |
ATTR(street_name)
|
254 |
ATTR(street_name_systematic)
|
255 |
ATTR(street_number)
|
256 |
ATTR(debug)
|
257 |
ATTR(address)
|
258 |
ATTR(phone)
|
259 |
ATTR(entry_fee)
|
260 |
ATTR(open_hours)
|
261 |
ATTR(skin)
|
262 |
ATTR(fullscreen_removeme)
|
263 |
ATTR(view_mode)
|
264 |
ATTR(tilt)
|
265 |
ATTR(media_window_title)
|
266 |
ATTR(media_cmd)
|
267 |
ATTR(image_codec)
|
268 |
/* poi */
|
269 |
ATTR(icono)
|
270 |
ATTR(info_html)
|
271 |
ATTR(price_html)
|
272 |
/* navigation */
|
273 |
ATTR(navigation_short)
|
274 |
ATTR(navigation_long)
|
275 |
ATTR(navigation_long_exact)
|
276 |
ATTR(navigation_speech)
|
277 |
ATTR(name)
|
278 |
ATTR(cursorname)
|
279 |
ATTR(source)
|
280 |
ATTR(description)
|
281 |
ATTR(gc_type)
|
282 |
ATTR(layout)
|
283 |
ATTR(position_nmea)
|
284 |
ATTR(gpsd_query)
|
285 |
ATTR(on_eof)
|
286 |
ATTR(command)
|
287 |
ATTR(src)
|
288 |
ATTR(path)
|
289 |
ATTR(font)
|
290 |
ATTR(url_local)
|
291 |
ATTR(gc_size)
|
292 |
ATTR(gc_difficulty)
|
293 |
ATTR(gc_terrain)
|
294 |
ATTR(icon_src)
|
295 |
ATTR(position_time_iso8601)
|
296 |
ATTR(house_number)
|
297 |
ATTR(osm_member)
|
298 |
ATTR(osm_tag)
|
299 |
ATTR(municipality_name)
|
300 |
ATTR(county_name)
|
301 |
ATTR(state_name)
|
302 |
ATTR(message)
|
303 |
ATTR(callbacks)
|
304 |
ATTR(enable_expression)
|
305 |
ATTR(fax)
|
306 |
ATTR(email)
|
307 |
ATTR(url)
|
308 |
ATTR(profilename)
|
309 |
ATTR(projectionname)
|
310 |
ATTR(town_or_district_name)
|
311 |
ATTR(postal)
|
312 |
ATTR(postal_mask)
|
313 |
ATTR(house_number_first)
|
314 |
ATTR(house_number_last)
|
315 |
ATTR(house_number_left_first)
|
316 |
ATTR(house_number_left_last)
|
317 |
ATTR(house_number_right_first)
|
318 |
ATTR(house_number_right_last)
|
319 |
ATTR(town_name_match)
|
320 |
ATTR(district_name_match)
|
321 |
ATTR(street_name_match)
|
322 |
ATTR(language)
|
323 |
ATTR(subtype)
|
324 |
ATTR(filter)
|
325 |
ATTR(daylayout)
|
326 |
ATTR(nightlayout)
|
327 |
ATTR(xml_text)
|
328 |
ATTR(layout_name)
|
329 |
ATTR(user_name)
|
330 |
ATTR(user_pass)
|
331 |
ATTR(status_text)
|
332 |
ATTR(log_gpx_desc)
|
333 |
ATTR(map_pass)
|
334 |
ATTR(validity_period)
|
335 |
ATTR(socket)
|
336 |
ATTR(house_number_left)
|
337 |
ATTR(house_number_left_odd)
|
338 |
ATTR(house_number_left_even)
|
339 |
ATTR(house_number_right)
|
340 |
ATTR(house_number_right_odd)
|
341 |
ATTR(house_number_right_even)
|
342 |
ATTR(map_release)
|
343 |
ATTR(accesskey)
|
344 |
ATTR(http_method)
|
345 |
ATTR(http_header)
|
346 |
ATTR(progress)
|
347 |
ATTR(sample_dir)
|
348 |
ATTR(sample_suffix)
|
349 |
ATTR(dbus_destination)
|
350 |
ATTR(dbus_path)
|
351 |
ATTR(dbus_interface)
|
352 |
ATTR(dbus_method)
|
353 |
ATTR(osm_is_in)
|
354 |
ATTR(house_number_dummy)
|
355 |
ATTR(street_name_dummy)
|
356 |
|
357 |
ATTR(street_name_systematic_nat)
|
358 |
ATTR(street_lanes)
|
359 |
ATTR(street_destination)
|
360 |
ATTR(ref)
|
361 |
ATTR(exit_to)
|
362 |
ATTR(street_lanes_forward)
|
363 |
ATTR(street_turn_lanes)
|
364 |
ATTR(street_destination_lanes)
|
365 |
|
366 |
ATTR2(0x0003ffff,type_string_end)
|
367 |
ATTR2(0x00040000,type_special_begin)
|
368 |
ATTR(order)
|
369 |
ATTR(item_type)
|
370 |
ATTR(item_types)
|
371 |
ATTR(dash)
|
372 |
ATTR(sequence_range)
|
373 |
ATTR(angle_range)
|
374 |
ATTR(speed_range)
|
375 |
ATTR(attr_types)
|
376 |
ATTR(ch_edge)
|
377 |
ATTR(zipfile_ref_block)
|
378 |
ATTR(item_id)
|
379 |
ATTR(pdl_gps_update)
|
380 |
ATTR2(0x0004ffff,type_special_end)
|
381 |
ATTR2(0x00050000,type_double_begin)
|
382 |
ATTR(position_height)
|
383 |
ATTR(position_speed)
|
384 |
ATTR(position_direction)
|
385 |
ATTR(position_hdop)
|
386 |
ATTR(position_radius)
|
387 |
ATTR(position_longitude)
|
388 |
ATTR(position_latitude)
|
389 |
ATTR2(0x0005ffff,type_double_end)
|
390 |
ATTR2(0x00060000,type_coord_geo_begin)
|
391 |
ATTR(position_coord_geo)
|
392 |
ATTR(center)
|
393 |
ATTR(click_coord_geo)
|
394 |
ATTR2(0x0006ffff,type_coord_geo_end)
|
395 |
ATTR2(0x00070000,type_color_begin)
|
396 |
ATTR(color)
|
397 |
ATTR(color2)
|
398 |
ATTR(background_color)
|
399 |
ATTR(text_color)
|
400 |
ATTR(idle_color)
|
401 |
ATTR(background_color2)
|
402 |
ATTR(nightcol)
|
403 |
ATTR2(0x0007ffff,type_color_end)
|
404 |
ATTR2(0x00080000,type_object_begin)
|
405 |
ATTR(navit)
|
406 |
ATTR(log)
|
407 |
ATTR(callback)
|
408 |
ATTR(route)
|
409 |
ATTR(navigation)
|
410 |
ATTR(vehicle)
|
411 |
ATTR(map)
|
412 |
ATTR(bookmark_map)
|
413 |
ATTR(bookmarks)
|
414 |
ATTR(former_destination_map)
|
415 |
ATTR(graphics)
|
416 |
ATTR(gui)
|
417 |
ATTR(trackingo) /* fixme */
|
418 |
ATTR(plugins)
|
419 |
ATTR(layer)
|
420 |
ATTR(itemgra)
|
421 |
ATTR(polygon)
|
422 |
ATTR(polyline)
|
423 |
ATTR(circle)
|
424 |
ATTR(text)
|
425 |
ATTR(icon)
|
426 |
ATTR(image)
|
427 |
ATTR(arrows)
|
428 |
ATTR(mapset)
|
429 |
ATTR(osd)
|
430 |
ATTR(plugin)
|
431 |
ATTR(speech)
|
432 |
ATTR(coord)
|
433 |
ATTR(private_data)
|
434 |
ATTR(callback_list)
|
435 |
ATTR(displaylist)
|
436 |
ATTR(transformation)
|
437 |
ATTR(vehicleprofile)
|
438 |
ATTR(roadprofile)
|
439 |
ATTR(announcement)
|
440 |
ATTR(cursor)
|
441 |
ATTR(config)
|
442 |
ATTR(maptile)
|
443 |
ATTR2(0x0008ffff,type_object_end)
|
444 |
ATTR2(0x00090000,type_coord_begin)
|
445 |
ATTR2(0x0009ffff,type_coord_end)
|
446 |
ATTR2(0x000a0000,type_pcoord_begin)
|
447 |
ATTR(destination)
|
448 |
ATTR(position)
|
449 |
ATTR2(0x000affff,type_pcoord_end)
|
450 |
ATTR2(0x000b0000,type_callback_begin)
|
451 |
ATTR(resize)
|
452 |
ATTR(motion)
|
453 |
ATTR(keypress)
|
454 |
ATTR(window_closed)
|
455 |
ATTR(log_gpx)
|
456 |
ATTR(log_textfile)
|
457 |
ATTR(graphics_ready)
|
458 |
ATTR(destroy)
|
459 |
ATTR2(0x000bffff,type_callback_end)
|
460 |
ATTR2(0x000c0000,type_int64_begin)
|
461 |
ATTR(osm_nodeid)
|
462 |
ATTR(osm_wayid)
|
463 |
ATTR(osm_relationid)
|
464 |
ATTR2(0x000cffff,type_int64_end)
|
465 |
ATTR2(0x000d0000,type_group_begin)
|
466 |
ATTR(speed_dep)
|
467 |
ATTR2(0x000dffff,type_group_end)
|
468 |
ATTR2(0x000e0000,type_item_type_begin)
|
469 |
ATTR(alt_item_type)
|
470 |
ATTR2(0x000effff,type_item_type_end)
|