#include "latlon.h"
#include "map.h"
#include "map-download.h"
+#include "iap.h"
void route_find_nearest_point();
void cancel_autoroute(gboolean temporary);
}
curl_multi_add_handle(_curl_multi, _autoroute_data.curl_easy);
-#ifdef WITH_OSSO
if (iap_is_connected() && !_curl_sid)
-#else
-if (!_curl_sid)
-#endif
_curl_sid = g_timeout_add(100, (GSourceFunc) map_download_timeout, NULL);
_autoroute_data.in_progress = TRUE;
GtkEntryCompletion *from_comp;
GtkEntryCompletion *to_comp;
-#ifdef WITH_OSSO
iap_connect();
-#endif
dialog = gtk_dialog_new_with_buttons(_("Download Route"),
GTK_WINDOW(_window),