enhancements to the plugin api
Hi,
what about enhancing the plugin api to pass another argument that contains a pointer to a class instance for interfacing with the installer and the scripting evironment.
The class instance might contain functions like:
- bool VarDefined(const char *pszVarName)
- const char *VarGet(const char *pszVarName)
- void VarSet(const char *pszVarName, const char *pszVarValue)
...
and many similar functions for - for example - argument passing and calling other internal installer functions.
You can also use a struct with function pointers to enhance portability.
Regards,
mjs