diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-03-10 21:48:13 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-03-10 21:48:13 +0000 |
commit | f34cdf4116c30e1662b55021066b22d1e445fecf (patch) | |
tree | 0792455e09b3d6235a604ee90d2fe7c53b7092f6 /navit/xmlconfig.c | |
parent | 60806fac6f3bdc196ac7af41d87103267bed9b5a (diff) | |
download | navit-svn-f34cdf4116c30e1662b55021066b22d1e445fecf.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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/xmlconfig.c b/navit/xmlconfig.c index 27d91a99..4e81054f 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: |