NSIS/Source/exehead/ui.h
kichik df33a31178 Added SetLanguage ($LANGUAGE is no longer a variable)
Language can be set not only from .onInit
Added .onMouseOverSection


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@737 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-25 16:09:17 +00:00

34 lines
975 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
void NSISCALL set_language(LANGID lang);
int NSISCALL ui_doinstall(void);
void NSISCALL update_status_text_from_lang(langid_t id, const char *text2);
void NSISCALL 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
#ifdef NSIS_CONFIG_LOG
void NSISCALL build_g_logfile(void);
#endif
#endif//_UI_H_