Add:Core:Added support for utm projection
[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(position_sat_item)
33 ATTR2(0x0001ffff,type_item_end)
34
35 ATTR2(0x00020000,type_int_begin)
36 ATTR(h_remove)
37 ATTR(id)
38 ATTR(flags)
39 ATTR(w_remove)
40 ATTR(x_remove)
41 ATTR(y_remove)
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 ATTR(font_size_remove)
69 ATTR(icon_xs)
70 ATTR(icon_l)
71 ATTR(icon_s)
72 ATTR(spacing)
73 ATTR(recent_dest)
74 ATTR(destination_distance)
75 ATTR(check_version)
76 ATTR(details)
77 ATTR(width)
78 ATTR(offset)
79 ATTR(directed)
80 ATTR(radius)
81 ATTR(text_size)
82 ATTR(level)
83 ATTR(icon_w)
84 ATTR(icon_h)
85 ATTR(rotation)
86 ATTR(checksum_ignore)
87 ATTR(position_fix_type)
88 ATTR(timeout)
89 ATTR(orientation)
90 ATTR(keyboard)
91 ATTR(position_sats_signal)
92 ATTR(cps)
93 ATTR(fast)
94 ATTR(osd_configuration)
95 ATTR(columns)
96 ATTR(align)
97 ATTR(sat_prn)
98 ATTR(sat_elevation)
99 ATTR(sat_azimuth)
100 ATTR(sat_snr)
101 ATTR(autozoom)
102 ATTR(version)
103 ATTR(autozoom_min)
104 ATTR(maxspeed)
105 ATTR(cdf_histsize)
106 ATTR(message_maxage)
107 ATTR(message_maxnum)
108 ATTR(pitch)
109 ATTR(roll)
110 ATTR(yaw)
111 ATTR(route_status)
112 ATTR(route_weight)
113 ATTR(distance_metric)
114 ATTR(route_mode)
115 ATTR(maxspeed_handling)
116 ATTR(flags_forward_mask)
117 ATTR(flags_reverse_mask)
118
119 ATTR2(0x00027500,type_rel_abs_begin)
120 /* These attributes are int that can either hold relative               *
121  * or absolute values. A relative value is indicated by                 *
122  * adding 0x60000000.                                                                                                                                                           *
123  *                                                                                                                                                                                                                                      *
124  * The range of valid absolute values is -0x40000000 to                 *
125  * 0x40000000, the range of relative values is from                                     *
126  * -0x20000000 to 0x20000000.                                                                                                                           */
127 ATTR(h)
128 ATTR(w)
129 ATTR(x)
130 ATTR(y)
131 ATTR(font_size)
132
133 ATTR2(0x00028000,type_boolean_begin)
134 /* boolean */
135 ATTR(overwrite)
136 ATTR(active)
137 ATTR(cursor)
138 ATTR(orientation_removeme)
139 ATTR(tracking)
140 ATTR(menubar)
141 ATTR(statusbar)
142 ATTR(toolbar)
143 ATTR(animate)
144 ATTR(lazy)
145 ATTR(mkdir)
146 ATTR(predraw)
147 ATTR(postdraw)
148 ATTR(button)
149 ATTR(ondemand)
150 ATTR(menu_on_map_click)
151 ATTR(direction)
152 ATTR(route_follow_straight_REMOVE) // This is to be removed with the next version
153 ATTR(gui_speech)
154 ATTR(town_id) /* fixme? */
155 ATTR(street_id) /* fixme? */  
156 ATTR(district_id) /* fixme? */
157 ATTR(drag_bitmap)
158 ATTR(use_mousewheel)
159 ATTR(fullscreen)
160 ATTR(position_magnetic_direction)
161 ATTR(use_overlay)
162 ATTR(night_mode)
163 ATTR(autozoom_active)
164 ATTR2(0x0002ffff,type_int_end)
165 ATTR2(0x00030000,type_string_begin)
166 ATTR(type)
167 ATTR(label)
168 ATTR(data)
169 ATTR(charset)
170 ATTR(country_all)
171 ATTR(country_iso3)
172 ATTR(country_iso2)
173 ATTR(country_car)
174 ATTR(country_name)
175 ATTR(town_name)
176 ATTR(town_postal)
177 ATTR(district_name)
178 ATTR(street_name)
179 ATTR(street_name_systematic)
180 ATTR(street_number)
181 ATTR(debug)
182 ATTR(address)
183 ATTR(phone)
184 ATTR(entry_fee)
185 ATTR(open_hours)
186 ATTR(skin)
187 ATTR(fullscreen_removeme)
188 ATTR(view_mode)
189 ATTR(tilt)
190 ATTR(media_window_title)
191 ATTR(media_cmd)
192 ATTR(image_codec)
193 /* poi */
194 ATTR(icono)
195 ATTR(info_html)
196 ATTR(price_html)
197 /* navigation */
198 ATTR(navigation_short)
199 ATTR(navigation_long)
200 ATTR(navigation_long_exact)
201 ATTR(navigation_speech)
202 ATTR(name)
203 ATTR(source)
204 ATTR(description)
205 ATTR(gc_type)
206 ATTR(layout)
207 ATTR(position_nmea)
208 ATTR(gpsd_query)
209 ATTR(on_eof)
210 ATTR(command)
211 ATTR(src)
212 ATTR(path)
213 ATTR(font)
214 ATTR(url_local)
215 ATTR(gc_size)
216 ATTR(gc_difficulty)
217 ATTR(gc_terrain)
218 ATTR(icon_src)
219 ATTR(position_time_iso8601)
220 ATTR(house_number)
221 ATTR(osm_member)
222 ATTR(osm_tag)
223 ATTR(municipality_name)
224 ATTR(county_name)
225 ATTR(state_name)
226 ATTR(message)
227 ATTR(callbacks)
228 ATTR(enable_expression)
229 ATTR(fax)
230 ATTR(email)
231 ATTR(url)
232 ATTR(profilename)
233 ATTR(projectionname)
234 ATTR2(0x0003ffff,type_string_end)
235 ATTR2(0x00040000,type_special_begin)
236 ATTR(order)
237 ATTR(item_type)
238 ATTR(item_types)
239 ATTR(dash)
240 ATTR(sequence_range)
241 ATTR(angle_range)
242 ATTR(speed_range)
243 ATTR2(0x0004ffff,type_special_end)
244 ATTR2(0x00050000,type_double_begin)
245 ATTR(position_height)
246 ATTR(position_speed)
247 ATTR(position_direction)
248 ATTR(position_hdop)
249 ATTR2(0x0005ffff,type_double_end)
250 ATTR2(0x00060000,type_coord_geo_begin)
251 ATTR(position_coord_geo)
252 ATTR(center)
253 ATTR2(0x0006ffff,type_coord_geo_end)
254 ATTR2(0x00070000,type_color_begin)
255 ATTR(color)
256 ATTR(color2)
257 ATTR(background_color)
258 ATTR(text_color)
259 ATTR(background_color2)
260 ATTR2(0x0007ffff,type_color_end)
261 ATTR2(0x00080000,type_object_begin)
262 ATTR(navit)
263 ATTR(log)
264 ATTR(callback)
265 ATTR(route)
266 ATTR(navigation)
267 ATTR(vehicle)
268 ATTR(map)
269 ATTR(bookmark_map)
270 ATTR(former_destination_map)
271 ATTR(graphics)
272 ATTR(gui)
273 ATTR(trackingo) /* fixme */
274 ATTR(plugins)
275 ATTR(layer)
276 ATTR(itemgra)
277 ATTR(polygon)
278 ATTR(polyline)
279 ATTR(circle)
280 ATTR(text)
281 ATTR(icon)
282 ATTR(image)
283 ATTR(arrows)
284 ATTR(mapset)
285 ATTR(osd)
286 ATTR(plugin)
287 ATTR(speech)
288 ATTR(coord)
289 ATTR(private_data)
290 ATTR(callback_list)
291 ATTR(displaylist)
292 ATTR(transformation)
293 ATTR(vehicleprofile)
294 ATTR(roadprofile)
295 ATTR(announcement)
296 ATTR2(0x0008ffff,type_object_end)
297 ATTR2(0x00090000,type_coord_begin)
298 ATTR2(0x0009ffff,type_coord_end)
299 ATTR2(0x000a0000,type_pcoord_begin)
300 ATTR(destination)
301 ATTR(position)
302 ATTR2(0x000affff,type_pcoord_end)
303 ATTR2(0x000b0000,type_callback_begin)
304 ATTR(resize)
305 ATTR(motion)
306 ATTR(keypress)
307 ATTR2(0x000bffff,type_callback_end)
308 ATTR2(0x000c0000,type_int64_begin)
309 ATTR(osm_nodeid)
310 ATTR(osm_wayid)
311 ATTR(osm_relationid)
312 ATTR2(0x000cffff,type_int64_end)