From 60bc2797f0bd71d87a4eece306e2368afe2a8866 Mon Sep 17 00:00:00 2001 From: Sebastian Leske Date: Mon, 31 Oct 2016 15:06:16 +0100 Subject: 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. --- navit/vehicle/gpsd/vehicle_gpsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'navit/vehicle/gpsd') diff --git a/navit/vehicle/gpsd/vehicle_gpsd.c b/navit/vehicle/gpsd/vehicle_gpsd.c index 73d9e648d..a8c29cd97 100644 --- a/navit/vehicle/gpsd/vehicle_gpsd.c +++ b/navit/vehicle/gpsd/vehicle_gpsd.c @@ -471,5 +471,5 @@ void plugin_init(void) { dbg(lvl_debug, "enter\n"); - plugin_register_vehicle_type("gpsd", vehicle_gpsd_new_gpsd); + plugin_register_category_vehicle("gpsd", vehicle_gpsd_new_gpsd); } -- cgit v1.2.1