Hi!

Currently plugin entry points receives just an IMaster.

It cannot do much things with only this.

Not all plugins will register a factory and do all the work lazily.

It should receive a "plugin config" parameter and an Status to report
errors to the engine, to log them or return to the user.

Maybe they should be returned to the user, and a method to log things is
also necessary, but that probably should live in IMaster/IUtil and is
not directly related to plugins.

Instead of add "plugin config" parameter to the prototype, I think a new
interface PluginInitialization should be created, currently with:
IMaster* getMaster();
IConfig* getConfig(); /* not sure if current IConfig means the plugin
config */

So the prototype will become:

void FB_PLUGIN_ENTRY_POINT(IStatus*, IPluginInitialization*);


Adriano


------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to