12.11.2015 20:12, Vlad Khorsun wrote:
>     How much ? Do yo know way better ?

   Not much, I agree. But still it is excess.

>  Do yo know way better ?

   Yep. As I said, good old style plugins: separate library for each, a 
definite entry 
point for each type which returns ready-to-use plugin class instead of 
pointless factory.

>     Look at
>
>     PluginSet PluginManager::getPlugins(Status status, uint pluginType, const 
> string namesList,
>                                   FirebirdConf firebirdConf)
>
> Look at second parameter. Nobody prevents you to load plugins of any kind.

   Second parameter is not a big deal here. Third one is tricky.

>     Config PluginManager::getConfig(Status status, const string filename);
>
> should suit your needs

   Sure. Unless I want my plugin to be listed in firebird.conf among other 
plugins. But 
that's my own cockroaches, you don't need to care.

-- 
   WBR, SD.

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

Reply via email to