- Plug-in command can now come in any order in the script

- Second plug-in DLL doesn't produce errors anymore
- Infinite loop bug fixed (again)


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@678 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2002-08-09 22:12:10 +00:00
parent bc6494155b
commit 0b31694486
8 changed files with 153 additions and 83 deletions

View file

@ -9,23 +9,22 @@
#include "strlist.h"
#include <vector>
struct DLL {
char *name;
bool stored;
};
class Plugins
{
public:
void FindCommands(char*,bool);
bool IsPluginCommand(char*);
char* GetPluginDll(char*);
void DLLStored(char*);
bool IsDLLStored(char*);
void StoreInstDLL(char*);
void StoreUninstDLL(char*);
char* GetInstDLL(int);
char* GetUninstDLL(int);
protected:
DefineList m_commands;
std::vector<DLL> m_storedDLLs;
DefineList m_commands;
std::vector<char*> m_storedDLLs;
std::vector<char*> m_installDLLs;
std::vector<char*> m_uninstallDLLs;
void GetExports(char*,bool);
};