summaryrefslogtreecommitdiff
path: root/navit/xmlconfig.c
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2014-05-29 15:45:01 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2014-05-29 15:45:01 +0000
commit46fdbce92adb2fde852aa7ecdd2b2172486147ba (patch)
tree2d4eaa063bc003b5b9088f98a96c957aa66c381e /navit/xmlconfig.c
parentc372b4d5c0ef1718495fc9e86303f31d2f5f3b34 (diff)
downloadnavit-46fdbce92adb2fde852aa7ecdd2b2172486147ba.tar.gz
Add:Core:Improved routing api and support for testing route positions without rebuilding graph
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5789 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/xmlconfig.c')
-rw-r--r--navit/xmlconfig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/navit/xmlconfig.c b/navit/xmlconfig.c
index bbda20e02..fccf94ca3 100644
--- a/navit/xmlconfig.c
+++ b/navit/xmlconfig.c
@@ -247,7 +247,6 @@ static struct object_func object_funcs[] = {
{ attr_plugin, NEW(plugin_new)},
{ attr_polygon, NEW(polygon_new), NULL, NULL, NULL, NULL, ADD(element_add_attr)},
{ attr_polyline, NEW(polyline_new), NULL, NULL, NULL, NULL, ADD(element_add_attr)},
- { attr_route, NEW(route_new), GET(route_get_attr), NULL, NULL, SET(route_set_attr), ADD(route_add_attr), REMOVE(route_remove_attr)},
{ attr_text, NEW(text_new)},
};
@@ -278,6 +277,8 @@ object_func_lookup(enum attr_type type)
return &profile_option_func;
case attr_roadprofile:
return &roadprofile_func;
+ case attr_route:
+ return &route_func;
case attr_script:
return &script_func;
case attr_osd: