NSIS/Source/exehead/ui.h
eccles ac00a53e1a Implemented a method where LANG_* strings can be referenced
by constant id's - reducing code overhead associated with
looking up the global strings variables.  Kind of.  Just compare
the assembly output...


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@685 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-11 18:56:30 +00:00

28 lines
838 B
C

#ifndef _UI_H_
#define _UI_H_
#include "lang.h"
// Added by Amir Szekely 3rd August 2002
extern common_strings *cur_common_strings_table;
extern char *cur_install_strings_table; // installer_strings/uninstall_strings depending on installer type
int ui_doinstall(void);
void update_status_text_from_lang(langid_t id, const char *text2);
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_