From 93b86cb3eab20c3a0fd4bd605ff56ebd2ff805ba Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Thu, 12 Jun 2008 17:13:56 +0300 Subject: [PATCH] Move ProgressUpdateInfo struct --- src/map-download.h | 13 ++++++++++++- src/map-repo.h | 12 ------------ 2 files changed, 12 insertions(+), 13 deletions(-) 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; -- 2.39.5