summaryrefslogtreecommitdiff
path: root/navit/xmlconfig.c
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-03-10 21:48:13 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-03-10 21:48:13 +0000
commit594989b31be5a6b4b8e333948c326311bdbfc709 (patch)
tree0792455e09b3d6235a604ee90d2fe7c53b7092f6 /navit/xmlconfig.c
parent1b97cd37c1edcdb41fd1f0fce8e3a9c90b743a13 (diff)
downloadnavit-594989b31be5a6b4b8e333948c326311bdbfc709.tar.gz
Add:Core:Further work on vehicleprofile_options
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5407 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/xmlconfig.c')
-rw-r--r--navit/xmlconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/xmlconfig.c b/navit/xmlconfig.c
index 27d91a992..4e81054fd 100644
--- a/navit/xmlconfig.c
+++ b/navit/xmlconfig.c
@@ -50,7 +50,6 @@
#include "log.h"
#include "announcement.h"
#include "vehicleprofile.h"
-#include "roadprofile.h"
#include "callback.h"
#include "config_.h"
@@ -261,7 +260,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_roadprofile,NEW(roadprofile_new), GET(roadprofile_get_attr), NULL, NULL, SET(roadprofile_set_attr), ADD(roadprofile_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_speech, NEW(speech_new), GET(speech_get_attr), NULL, NULL, SET(speech_set_attr)},
{ attr_text, NEW(text_new)},
@@ -288,6 +286,8 @@ object_func_lookup(enum attr_type type)
return &navit_func;
case attr_profile_option:
return &profile_option_func;
+ case attr_roadprofile:
+ return &roadprofile_func;
case attr_osd:
return &osd_func;
case attr_trackingo: