diff options
author | Sebastian Leske <sebastian.leske@sleske.name> | 2016-10-31 15:06:16 +0100 |
---|---|---|
committer | Sebastian Leske <sebastian.leske@sleske.name> | 2016-10-31 15:06:16 +0100 |
commit | 60bc2797f0bd71d87a4eece306e2368afe2a8866 (patch) | |
tree | ffa45158a52ac6e976785ec054cf1de0a87b4bab /navit/vehicle/file/vehicle_file.c | |
parent | 12c891d94ffaabeeec26ccf7e803f5c62777a685 (diff) | |
download | navit-60bc2797f0bd71d87a4eece306e2368afe2a8866.tar.gz |
Refactor:core:For plugins, use term 'category' instead of 'type'.
Use the term 'category' for all plugins with the same API (GUI plugins,
map plugins etc.). This used to be called 'type', which was confusing,
because in the XML config, 'type' refers to what is called 'name' in the
code.
Diffstat (limited to 'navit/vehicle/file/vehicle_file.c')
-rw-r--r-- | navit/vehicle/file/vehicle_file.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/navit/vehicle/file/vehicle_file.c b/navit/vehicle/file/vehicle_file.c index f7a0024b9..bb6134042 100644 --- a/navit/vehicle/file/vehicle_file.c +++ b/navit/vehicle/file/vehicle_file.c @@ -1046,8 +1046,8 @@ vehicle_file_new_file(struct vehicle_methods void plugin_init(void) { dbg(lvl_debug, "vehicle_file:plugin_init:enter\n"); - plugin_register_vehicle_type("file", vehicle_file_new_file); - plugin_register_vehicle_type("pipe", vehicle_file_new_file); - plugin_register_vehicle_type("socket", vehicle_file_new_file); - plugin_register_vehicle_type("serial", vehicle_file_new_file); + plugin_register_category_vehicle("file", vehicle_file_new_file); + plugin_register_category_vehicle("pipe", vehicle_file_new_file); + plugin_register_category_vehicle("socket", vehicle_file_new_file); + plugin_register_category_vehicle("serial", vehicle_file_new_file); } |