Added automatic use of dll commands (see config.h for more details)

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@645 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
sunjammerx 2002-08-05 02:05:00 +00:00
parent 8ef7b8fe3c
commit 31ad4513e9
16 changed files with 752 additions and 18 deletions

View file

@ -19,6 +19,10 @@ using namespace std;
#endif//NSIS_CONFIG_COMPRESSION_SUPPORT
#ifdef NSIS_CONFIG_PLUGIN_SUPPORT
#include "ExternalCommands.h"
#endif //NSIS_CONFIG_PLUGIN_SUPPORT
#ifdef NSIS_CONFIG_CRC_SUPPORT
extern "C"
{
@ -46,6 +50,11 @@ class CEXEBuild {
// to add a defined thing.
void define(const char *p, const char *v="");
#ifdef NSIS_CONFIG_PLUGIN_SUPPORT
// Added by Ximon Eighteen 5th August 2002
void build_external_command_table(void);
#endif //NSIS_CONFIG_PLUGIN_SUPPORT
// process a script (you can process as many scripts as you want,
// it is as if they are concatenated)
int process_script(FILE *fp, char *curfilename, int *lineptr);
@ -97,6 +106,11 @@ class CEXEBuild {
int make_sure_not_in_secorfunc(const char *str);
#ifdef NSIS_CONFIG_PLUGIN_SUPPORT
// Added by Ximon Eighteen 5th August 2002
ExternalCommands m_externalCommands;
#endif //NSIS_CONFIG_PLUGIN_SUPPORT
// build.cpp functions used mostly within build.cpp
int datablock_optimize(int start_offset);
void printline(int l);