2002-08-02 10:01:35 +00:00
|
|
|
#ifndef _UI_H_
|
|
|
|
#define _UI_H_
|
|
|
|
|
2002-08-11 18:56:30 +00:00
|
|
|
#include "lang.h"
|
|
|
|
|
2002-08-04 20:25:10 +00:00
|
|
|
// Added by Amir Szekely 3rd August 2002
|
|
|
|
extern common_strings *cur_common_strings_table;
|
2002-08-11 18:56:30 +00:00
|
|
|
extern char *cur_install_strings_table; // installer_strings/uninstall_strings depending on installer type
|
2002-08-04 20:25:10 +00:00
|
|
|
|
2002-08-02 10:01:35 +00:00
|
|
|
int ui_doinstall(void);
|
2002-08-11 18:56:30 +00:00
|
|
|
void update_status_text_from_lang(langid_t id, const char *text2);
|
2002-08-02 10:01:35 +00:00
|
|
|
void update_status_text(const char *text1, const char *text2);
|
|
|
|
extern int ui_st_updateflag;
|
|
|
|
|
|
|
|
extern char g_autoclose;
|
|
|
|
extern void *g_inst_combinedheader;
|
|
|
|
extern section *g_inst_section;
|
|
|
|
extern entry *g_inst_entry;
|
|
|
|
|
|
|
|
#define g_inst_header ((header *)g_inst_combinedheader)
|
|
|
|
#define g_inst_cmnheader ((common_header *)g_inst_combinedheader)
|
|
|
|
|
|
|
|
#ifdef NSIS_CONFIG_UNINSTALL_SUPPORT
|
|
|
|
#define g_inst_uninstheader ((uninstall_header *)g_inst_combinedheader)
|
|
|
|
extern int g_is_uninstaller;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif//_UI_H_
|