X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/09d47ac404e82ab5e7005971c1ccc83f19a21871..4f14a010d0a7d09721c32f0d35ffbeae05ea994c:/src/modules.c?ds=inline diff --git a/src/modules.c b/src/modules.c index 68a8cb9f..41818d5f 100644 --- a/src/modules.c +++ b/src/modules.c @@ -31,6 +31,8 @@ #include "modules.h" +#include "bing.h" +#include "spotmaps.h" #include "google.h" #include "terraserver.h" #include "expedia.h" @@ -109,6 +111,9 @@ modules_load_config(void) void modules_init() { +#ifdef VIK_CONFIG_BING + bing_init(); +#endif #ifdef VIK_CONFIG_GOOGLE google_init(); #endif @@ -128,7 +133,10 @@ void modules_init() #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 (); }