X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/4c629122fa7e199c556a62233a2c995b2985afe2..4f14a010d0a7d09721c32f0d35ffbeae05ea994c:/src/modules.c diff --git a/src/modules.c b/src/modules.c index 3d81a380..41818d5f 100644 --- a/src/modules.c +++ b/src/modules.c @@ -1,7 +1,7 @@ /* * viking -- GPS Data and Topo Analyzer, Explorer, and Manager * - * Copyright (C) 2006-2007, Guilhem Bonnefille + * Copyright (C) 2006-2010, Guilhem Bonnefille * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -31,13 +31,14 @@ #include "modules.h" +#include "bing.h" +#include "spotmaps.h" #include "google.h" #include "terraserver.h" #include "expedia.h" #include "osm.h" #include "osm-traces.h" #include "bluemarble.h" -#include "openaerial.h" #include "geonames.h" #include "file.h" #include "vikmapslayer.h" @@ -110,6 +111,9 @@ modules_load_config(void) void modules_init() { +#ifdef VIK_CONFIG_BING + bing_init(); +#endif #ifdef VIK_CONFIG_GOOGLE google_init(); #endif @@ -126,13 +130,13 @@ void modules_init() #ifdef VIK_CONFIG_BLUEMARBLE bluemarble_init(); #endif -#ifdef VIK_CONFIG_OPENAERIAL - openaerial_init(); -#endif #ifdef VIK_CONFIG_GEONAMES geonames_init(); #endif - +#ifdef VIK_CONFIG_SPOTMAPS + spotmaps_init(); +#endif + /* As modules are loaded, we can load configuration files */ modules_load_config (); }