]> err.no Git - mapper/blob - src/map-repo.h
Map widget:
[mapper] / src / map-repo.h
1 #ifndef _MAP_REPO_H
2 #define _MAP_REPO_H
3
4 #include "map-tile-repo.h"
5
6 /** Data used during the asynchronous progress update phase of automatic map downloading. */
7 typedef struct _ProgressUpdateInfo ProgressUpdateInfo;
8 struct _ProgressUpdateInfo {
9         gchar *src_str;
10         gchar *dest_str;
11         RepoData *repo;
12         guint tilex, tiley, zoom;       /* for refresh. */
13         gint retries;           /* if equal to zero, it means we're DELETING maps. */
14         guint priority;
15         FILE *file;
16 };
17
18 GList *_repo_list;
19 RepoData *_curr_repo;
20
21 #endif