Move version check out of main()

This commit is contained in:
jacksonmj
2011-06-19 10:39:22 +01:00
committed by Simon Robertshaw
parent 88823cf604
commit 97da8593d9
3 changed files with 166 additions and 137 deletions

View File

@@ -20,9 +20,16 @@
#ifndef UPDATE_H
#define UPDATE_H
#include <defines.h>
extern int version_check;
char *exe_name(void);
int update_start(char *data, int len);
int update_finish(void);
void update_cleanup(void);
void update_finalize(pixel *vid_buf);
void update_notify_ui_draw(pixel *vid_buf);
void update_notify_ui_process(pixel *vid_buf, int mb, int mbq, int mx, int my);
#endif