NSIS/Source/Plugins.h
kichik 0b31694486 - 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
2002-08-09 22:12:10 +00:00

33 lines
No EOL
588 B
C++

#ifndef __X18_PLUGINS_H
#define __X18_PLUGINS_H
#include <windows.h>
#include <stdio.h>
#include "strlist.h"
#include <vector>
class Plugins
{
public:
void FindCommands(char*,bool);
bool IsPluginCommand(char*);
char* GetPluginDll(char*);
void StoreInstDLL(char*);
void StoreUninstDLL(char*);
char* GetInstDLL(int);
char* GetUninstDLL(int);
protected:
DefineList m_commands;
std::vector<char*> m_storedDLLs;
std::vector<char*> m_installDLLs;
std::vector<char*> m_uninstallDLLs;
void GetExports(char*,bool);
};
#endif