Fix:Core:Added a direction attribute to make navigation recognize the change of route...
[navit-package] / navit / attr_def.h
1 /**
2  * Navit, a modular navigation system.
3  * Copyright (C) 2005-2008 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
26 ATTR2(0x00010000,type_item_begin)
27 ATTR(town_streets_item)
28 ATTR(street_name_item)
29 ATTR(street_name_numbers_item)
30 ATTR(street_item)
31 ATTR(street_number_item)
32 ATTR(item_type) /* fixme */
33 ATTR2(0x0001ffff,type_item_end)
34
35 ATTR2(0x00020000,type_int_begin)
36 ATTR(h)
37 ATTR(id)
38 ATTR(flags)
39 ATTR(w)
40 ATTR(x)
41 ATTR(y)
42 ATTR(flush_size)
43 ATTR(flush_time)
44 ATTR(zipfile_ref)
45 ATTR(country_id)
46 ATTR(position_sats)
47 ATTR(position_sats_used)
48 ATTR(update)
49 ATTR(follow)
50 ATTR(length)
51 ATTR(time)
52 ATTR(destination_length)
53 ATTR(destination_time)
54 ATTR(speed)
55 ATTR(interval)
56 ATTR(position_qual)
57 ATTR(zoom)
58 ATTR(retry_interval)
59 ATTR(projection)
60 ATTR(offroad)
61 ATTR(vocabulary_name)
62 ATTR(vocabulary_name_systematic)
63 ATTR(vocabulary_distances)
64 ATTR(announce_name_systematic_first)
65 ATTR(antialias)
66 ATTR(order_delta)
67 ATTR(baudrate)
68 ATTR2(0x00028000,type_boolean_begin)
69 /* boolean */
70 ATTR(overwrite)
71 ATTR(active)
72 ATTR(cursor)
73 ATTR(orientation)
74 ATTR(tracking)
75 ATTR(menubar)
76 ATTR(statusbar)
77 ATTR(toolbar)
78 ATTR(animate)
79 ATTR(lazy)
80 ATTR(mkdir)
81 ATTR(predraw)
82 ATTR(postdraw)
83 ATTR(button)
84 ATTR(ondemand)
85 ATTR(menu_on_map_click)
86 ATTR(direction)
87 ATTR2(0x0002ffff,type_int_end)
88 ATTR2(0x00030000,type_string_begin)
89 ATTR(type)
90 ATTR(label)
91 ATTR(data)
92 ATTR(charset)
93 ATTR(country_all)
94 ATTR(country_iso3)
95 ATTR(country_iso2)
96 ATTR(country_car)
97 ATTR(country_name)
98 ATTR(town_name)
99 ATTR(town_postal)
100 ATTR(district_name)
101 ATTR(street_name)
102 ATTR(street_name_systematic)
103 ATTR(street_number)
104 ATTR(debug)
105 ATTR(address)
106 ATTR(phone)
107 ATTR(entry_fee)
108 ATTR(open_hours)
109 ATTR(skin)
110 ATTR(fullscreen)
111 ATTR(view_mode)
112 ATTR(tilt)
113 ATTR(media_window_title)
114 ATTR(media_cmd)
115 ATTR(image_codec)
116 /* poi */
117 ATTR(icon)
118 ATTR(info_html)
119 ATTR(price_html)
120 /* navigation */
121 ATTR(navigation_short)
122 ATTR(navigation_long)
123 ATTR(navigation_long_exact)
124 ATTR(navigation_speech)
125 ATTR(name)
126 ATTR(source)
127 ATTR(description)
128 ATTR(gc_type)
129 ATTR(layout)
130 ATTR(position_nmea)
131 ATTR(gpsd_query)
132 ATTR(on_eof)
133 ATTR(command)
134 ATTR(src)
135 ATTR(path)
136 ATTR(font)
137 ATTR(url_local)
138 ATTR(gc_size)
139 ATTR(gc_difficulty)
140 ATTR(gc_terrain)
141 ATTR2(0x0003ffff,type_string_end)
142 ATTR(order)
143 ATTR2(0x00050000,type_double_start)
144 ATTR(position_height)
145 ATTR(position_speed)
146 ATTR(position_direction)
147 ATTR2(0x0005ffff,type_double_end)
148 ATTR2(0x00060000,type_coord_geo_start)
149 ATTR(position_coord_geo)
150 ATTR(center)
151 ATTR2(0x0006ffff,type_coord_geo_end)
152 ATTR2(0x00070000,type_color_begin)
153 ATTR(color)
154 ATTR(color2)
155 ATTR2(0x0007ffff,type_color_end)
156 ATTR2(0x00080000,type_object_begin)
157 ATTR(navit)
158 ATTR(log)
159 ATTR(callback)
160 ATTR(route)
161 ATTR(navigation)
162 ATTR(vehicle)
163 ATTR(map)
164 ATTR(bookmark_map)
165 ATTR(former_destination_map)
166 ATTR(graphics)
167 ATTR(gui)
168 ATTR(trackingo) /* fixme */
169 ATTR2(0x0008ffff,type_object_end)
170 ATTR2(0x00090000,type_coord_begin)
171 ATTR2(0x0009ffff,type_coord_end)
172 ATTR2(0x000a0000,type_pcoord_begin)
173 ATTR(destination)
174 ATTR2(0x000affff,type_pcoord_end)