summaryrefslogtreecommitdiff
path: root/windows/download.c
diff options
context:
space:
mode:
Diffstat (limited to 'windows/download.c')
-rw-r--r--windows/download.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/windows/download.c b/windows/download.c
index ed7b10832..995ca1386 100644
--- a/windows/download.c
+++ b/windows/download.c
@@ -39,6 +39,26 @@
#include "windows/resourceid.h"
#include "windows/schedule.h"
+struct gui_download_window {
+ HWND hwnd;
+ char *title;
+ char *filename;
+ char *domain;
+ char *time_left;
+ char *total_size;
+ char *original_total_size;
+ int size;
+ int downloaded;
+ unsigned int progress;
+ int time_remaining;
+ struct timeval start_time;
+ int speed;
+ int error;
+ struct gui_window *window;
+ FILE *file;
+ download_status status;
+};
+
static bool downloading = false;
static struct gui_download_window *download1;