2006-10-28 19:45:02 +00:00
|
|
|
/*
|
|
|
|
* fileform.h
|
|
|
|
*
|
|
|
|
* This file is a part of NSIS.
|
|
|
|
*
|
2009-02-01 14:44:30 +00:00
|
|
|
* Copyright (C) 1999-2009 Nullsoft and Contributors
|
2006-10-28 19:45:02 +00:00
|
|
|
*
|
|
|
|
* Licensed under the zlib/libpng license (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
*
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* This software is provided 'as-is', without any express or implied
|
|
|
|
* warranty.
|
|
|
|
*/
|
|
|
|
|
2006-02-24 19:28:51 +00:00
|
|
|
#include "fileform.h"
|
|
|
|
|
2004-01-04 17:05:03 +00:00
|
|
|
extern NSIS_STRING g_usrvars[1];
|
2003-09-04 18:25:57 +00:00
|
|
|
|
|
|
|
#define state_command_line g_usrvars[20]
|
|
|
|
#define state_install_directory g_usrvars[21]
|
|
|
|
#define state_output_directory g_usrvars[22]
|
|
|
|
#define state_exe_directory g_usrvars[23]
|
|
|
|
#define state_language g_usrvars[24]
|
|
|
|
#define state_temp_dir g_usrvars[25]
|
|
|
|
#ifdef NSIS_CONFIG_PLUGIN_SUPPORT
|
2003-12-22 18:50:47 +00:00
|
|
|
# define state_plugins_dir g_usrvars[26]
|
2003-05-24 13:50:24 +00:00
|
|
|
#endif
|
2007-04-19 21:47:12 +00:00
|
|
|
#define state_exe_path g_usrvars[27]
|
2007-04-24 19:09:51 +00:00
|
|
|
#define state_exe_file g_usrvars[28]
|
|
|
|
#define state_click_next g_usrvars[30]
|
2002-08-02 10:01:35 +00:00
|
|
|
|
|
|
|
extern char g_caption[NSIS_MAX_STRLEN*2];
|
2003-09-10 16:39:06 +00:00
|
|
|
#ifdef NSIS_CONFIG_VISIBLE_SUPPORT
|
2002-08-02 10:01:35 +00:00
|
|
|
extern HWND g_hwnd;
|
|
|
|
extern HANDLE g_hInstance;
|
|
|
|
extern HWND insthwnd,insthwndbutton;
|
2003-09-10 16:39:06 +00:00
|
|
|
#else
|
|
|
|
#define g_hwnd 0
|
|
|
|
#define g_hInstance 0
|
2004-03-12 20:43:54 +00:00
|
|
|
#endif//NSIS_CONFIG_VISIBLE_SUPPORT
|