Display a "plugin not found" error message when a invalid command looks like a plugin call.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6541 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
5ae69eb9cc
commit
d42a4f16a6
5 changed files with 34 additions and 15 deletions
|
@ -51,9 +51,11 @@ class Plugins
|
|||
bool Initialize(const TCHAR*arcsubdir, bool displayInfo);
|
||||
void AddPluginsDir(const tstring& path, bool displayInfo);
|
||||
bool IsPluginCommand(const tstring& command) const;
|
||||
bool IsKnownPlugin(const tstring& token) const;
|
||||
bool GetCommandInfo(const tstring&command, tstring&canoniccmd, tstring&dllPath);
|
||||
int GetDllDataHandle(bool uninst, const tstring& command) const;
|
||||
void SetDllDataHandle(bool uninst, tstring&canoniccmd, int dataHandle);
|
||||
static bool IsPluginCallSyntax(const tstring& token);
|
||||
|
||||
private: // methods
|
||||
void GetExports(const tstring &pathToDll, bool displayInfo);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue