From: Kaj-Michael Lang Date: Thu, 12 Jun 2008 14:13:56 +0000 (+0300) Subject: Move ProgressUpdateInfo struct X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93b86cb3eab20c3a0fd4bd605ff56ebd2ff805ba;p=mapper Move ProgressUpdateInfo struct --- diff --git a/src/map-download.h b/src/map-download.h index f5634e1..6639972 100644 --- a/src/map-download.h +++ b/src/map-download.h @@ -12,9 +12,20 @@ /** The Source ID of the CURL Multi Download timeout. */ guint _curl_sid; - CURLM *_curl_multi; +/** Data used during the asynchronous progress update phase of automatic map downloading. */ +typedef struct _ProgressUpdateInfo ProgressUpdateInfo; +struct _ProgressUpdateInfo { + gchar *src_str; + gchar *dest_str; + RepoData *repo; + guint tilex, tiley, zoom; /* for refresh. */ + gint retries; /* if equal to zero, it means we're DELETING maps. */ + guint priority; + FILE *file; +}; + void map_download_init(void); void map_initiate_download(guint tilex, guint tiley, guint zoom, gint retries); gboolean map_download_stop(void); diff --git a/src/map-repo.h b/src/map-repo.h index 00eb68a..1e082b6 100644 --- a/src/map-repo.h +++ b/src/map-repo.h @@ -3,18 +3,6 @@ #include "map-tile-repo.h" -/** Data used during the asynchronous progress update phase of automatic map downloading. */ -typedef struct _ProgressUpdateInfo ProgressUpdateInfo; -struct _ProgressUpdateInfo { - gchar *src_str; - gchar *dest_str; - RepoData *repo; - guint tilex, tiley, zoom; /* for refresh. */ - gint retries; /* if equal to zero, it means we're DELETING maps. */ - guint priority; - FILE *file; -}; - GList *_repo_list; RepoData *_curr_repo;