Add:option to configure multiple maps with similar attributes with one tag
[profile/ivi/navit.git] / navit / navit / attr_def.h
index 8c253d0..80bfcea 100644 (file)
@@ -1,6 +1,6 @@
 /**
  * Navit, a modular navigation system.
- * Copyright (C) 2005-2008 Navit Team
+ * Copyright (C) 2005-2009 Navit Team
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public License
@@ -22,6 +22,7 @@
 /* common */
 ATTR2(0x00000000,none)
 ATTR(any)
+ATTR(any_xml)
 
 ATTR2(0x00010000,type_item_begin)
 ATTR(town_streets_item)
@@ -30,6 +31,7 @@ ATTR(street_name_numbers_item)
 ATTR(street_item)
 ATTR(street_number_item)
 ATTR(position_sat_item)
+ATTR(current_item)
 ATTR2(0x0001ffff,type_item_end)
 
 ATTR2(0x00020000,type_int_begin)
@@ -119,7 +121,59 @@ ATTR(house_number_interpolation)
 ATTR(house_number_left_interpolation)
 ATTR(house_number_right_interpolation)
 ATTR(delay)
-
+ATTR(lag)
+ATTR(bpp)
+ATTR(fullscreen)
+ATTR(windowid)
+ATTR(hog)
+ATTR(flags_town)
+ATTR(flags_street)
+ATTR(flags_house_number)
+ATTR(use_camera)
+ATTR(flags_graphics)
+ATTR(zoom_min)
+ATTR(zoom_max)
+ATTR(gamma)
+ATTR(brightness)
+ATTR(contrast)
+ATTR(height)
+ATTR(minspeed)
+ATTR(recspeed)
+ATTR(speed_cond)
+ATTR(shmkey)
+ATTR(vehicle_width)
+ATTR(vehicle_length)
+ATTR(vehicle_height)
+ATTR(vehicle_weight)
+ATTR(vehicle_axle_weight)
+ATTR(vehicle_dangerous_goods)
+ATTR(shmsize)
+ATTR(shmoffset)
+ATTR(speed_category)
+ATTR(static_speed)
+ATTR(static_distance)
+ATTR(through_traffic_penalty)
+ATTR(through_traffic_flags)
+ATTR(speed_exceed_limit_offset)
+ATTR(speed_exceed_limit_percent)
+ATTR(map_border)
+ATTR(angle_pref)
+ATTR(connected_pref)
+ATTR(nostop_pref)
+ATTR(offroad_limit_pref)
+ATTR(route_pref)
+ATTR(overspeed_pref)
+ATTR(overspeed_percent_pref)
+ATTR(autosave_period)
+ATTR(tec_type)
+ATTR(tec_dirtype)
+ATTR(tec_direction)
+ATTR(imperial)
+ATTR(update_period)
+ATTR(tunnel_extrapolation)
+ATTR(street_count)
+ATTR(min_dist)
+ATTR(max_dist)
 ATTR2(0x00027500,type_rel_abs_begin)
 /* These attributes are int that can either hold relative              *
  * or absolute values. A relative value is indicated by                *
@@ -138,7 +192,7 @@ ATTR2(0x00028000,type_boolean_begin)
 /* boolean */
 ATTR(overwrite)
 ATTR(active)
-ATTR(cursor)
+ATTR(follow_cursor)
 ATTR(orientation_removeme)
 ATTR(tracking)
 ATTR(menubar)
@@ -156,15 +210,31 @@ ATTR(direction)
 ATTR(route_follow_straight_REMOVE) // This is to be removed with the next version
 ATTR(gui_speech)
 ATTR(town_id) /* fixme? */
-ATTR(street_id) /* fixme? */  
+ATTR(street_id) /* fixme? */
 ATTR(district_id) /* fixme? */
 ATTR(drag_bitmap)
 ATTR(use_mousewheel)
-ATTR(fullscreen)
+ATTR(fullscreen_old)
 ATTR(position_magnetic_direction)
 ATTR(use_overlay)
 ATTR(night_mode)
 ATTR(autozoom_active)
+ATTR(position_valid)
+ATTR(frame)
+ATTR(tell_street_name)
+ATTR(bluetooth)
+ATTR(signal_on_map_click)
+ATTR(route_active)
+ATTR(search_active)
+ATTR(unsuspend)
+ATTR(announce_on)
+ATTR(disable_reset)
+ATTR(autostart)
+ATTR(readwrite)
+ATTR(cache)
+ATTR(create)
+ATTR(persistent)
+ATTR(waypoints_flag) /* toggle for "set as destination" to switch between start a new route or add */
 ATTR2(0x0002ffff,type_int_end)
 ATTR2(0x00030000,type_string_begin)
 ATTR(type)
@@ -191,7 +261,7 @@ ATTR(skin)
 ATTR(fullscreen_removeme)
 ATTR(view_mode)
 ATTR(tilt)
-ATTR(media_window_title)
+ATTR(window_title)
 ATTR(media_cmd)
 ATTR(image_codec)
 /* poi */
@@ -204,6 +274,7 @@ ATTR(navigation_long)
 ATTR(navigation_long_exact)
 ATTR(navigation_speech)
 ATTR(name)
+ATTR(cursorname)
 ATTR(source)
 ATTR(description)
 ATTR(gc_type)
@@ -244,6 +315,46 @@ ATTR(house_number_left_first)
 ATTR(house_number_left_last)
 ATTR(house_number_right_first)
 ATTR(house_number_right_last)
+ATTR(town_name_match)
+ATTR(district_name_match)
+ATTR(street_name_match)
+ATTR(language)
+ATTR(subtype)
+ATTR(filter)
+ATTR(daylayout)
+ATTR(nightlayout)
+ATTR(xml_text)
+ATTR(layout_name)
+ATTR(user_name)
+ATTR(user_pass)
+ATTR(status_text)
+ATTR(log_gpx_desc)
+ATTR(map_pass)
+ATTR(validity_period)
+ATTR(socket)
+ATTR(house_number_left)
+ATTR(house_number_left_odd)
+ATTR(house_number_left_even)
+ATTR(house_number_right)
+ATTR(house_number_right_odd)
+ATTR(house_number_right_even)
+ATTR(map_release)
+ATTR(accesskey)
+ATTR(http_method)
+ATTR(http_header)
+ATTR(progress)
+ATTR(sample_dir)
+ATTR(sample_suffix)
+ATTR(dbus_destination)
+ATTR(dbus_path)
+ATTR(dbus_interface)
+ATTR(dbus_method)
+ATTR(osm_is_in)
+ATTR(event_loop_system)
+ATTR(map_name)
+ATTR(item_name)
+ATTR(state_file)
+ATTR(on_map_click)
 ATTR2(0x0003ffff,type_string_end)
 ATTR2(0x00040000,type_special_begin)
 ATTR(order)
@@ -253,22 +364,33 @@ ATTR(dash)
 ATTR(sequence_range)
 ATTR(angle_range)
 ATTR(speed_range)
+ATTR(attr_types)
+ATTR(ch_edge)
+ATTR(zipfile_ref_block)
+ATTR(item_id)
+ATTR(pdl_gps_update)
 ATTR2(0x0004ffff,type_special_end)
 ATTR2(0x00050000,type_double_begin)
 ATTR(position_height)
 ATTR(position_speed)
 ATTR(position_direction)
 ATTR(position_hdop)
+ATTR(position_radius)
+ATTR(position_longitude)
+ATTR(position_latitude)
+ATTR(position_direction_matched)
 ATTR2(0x0005ffff,type_double_end)
 ATTR2(0x00060000,type_coord_geo_begin)
 ATTR(position_coord_geo)
 ATTR(center)
+ATTR(click_coord_geo)
 ATTR2(0x0006ffff,type_coord_geo_end)
 ATTR2(0x00070000,type_color_begin)
 ATTR(color)
 ATTR(color2)
 ATTR(background_color)
 ATTR(text_color)
+ATTR(idle_color)
 ATTR(background_color2)
 ATTR2(0x0007ffff,type_color_end)
 ATTR2(0x00080000,type_object_begin)
@@ -280,6 +402,7 @@ ATTR(navigation)
 ATTR(vehicle)
 ATTR(map)
 ATTR(bookmark_map)
+ATTR(bookmarks)
 ATTR(former_destination_map)
 ATTR(graphics)
 ATTR(gui)
@@ -306,6 +429,9 @@ ATTR(transformation)
 ATTR(vehicleprofile)
 ATTR(roadprofile)
 ATTR(announcement)
+ATTR(cursor)
+ATTR(config)
+ATTR(maps)
 ATTR2(0x0008ffff,type_object_end)
 ATTR2(0x00090000,type_coord_begin)
 ATTR2(0x0009ffff,type_coord_end)
@@ -317,9 +443,21 @@ ATTR2(0x000b0000,type_callback_begin)
 ATTR(resize)
 ATTR(motion)
 ATTR(keypress)
+ATTR(window_closed)
+ATTR(log_gpx)
+ATTR(log_textfile)
+ATTR(graphics_ready)
+ATTR(destroy)
+ATTR(wm_copydata)
 ATTR2(0x000bffff,type_callback_end)
 ATTR2(0x000c0000,type_int64_begin)
 ATTR(osm_nodeid)
 ATTR(osm_wayid)
 ATTR(osm_relationid)
 ATTR2(0x000cffff,type_int64_end)
+ATTR2(0x000d0000,type_group_begin)
+ATTR(speed_dep)
+ATTR2(0x000dffff,type_group_end)
+ATTR2(0x000e0000,type_item_type_begin)
+ATTR(alt_item_type)
+ATTR2(0x000effff,type_item_type_end)