- Fixed a bug in the dll export scanner (spotted and cured by CodeSquid)
- Fixed a bug in the installer runtime (spotted by CodeSquid) - Renamed all usage of ExternalCommand to Plugin - Added a compile time PluginDir command git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@650 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
334dad1e15
commit
7e6be3cf1e
11 changed files with 76 additions and 59 deletions
30
Source/Plugins.h
Normal file
30
Source/Plugins.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
|
||||
|
||||
#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*);
|
||||
int GetDllDataHandle(char*);
|
||||
void StoreDllDataHandle(char*,int);
|
||||
|
||||
protected:
|
||||
DefineList m_commands;
|
||||
std::vector<int> m_dataHandles;
|
||||
|
||||
void GetExports(char*,bool);
|
||||
};
|
||||
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue