config file backend : plugin name ?
Philippe Torrelli
philippe.torrelli at alcatel.fr
Mon Nov 20 14:31:56 CET 2006
Thank you Mikael.
I'll then take care of that when it's implemented .
Regards,
Philippe Torrelli
-----Message d'origine-----
De : minisip-devel-bounces at minisip.org
[mailto:minisip-devel-bounces at minisip.org] De la part de Mikael Magnusson
Envoyé : lundi 20 novembre 2006 11:52
À : minisip developers' mailing list
Objet : Re: config file backend : plugin name ?
Philippe Torrelli wrote:
> Hello,
>
> For my activeX wrapper, I need to read the configuration out of the
> properties passed to the ActiveX , and to compute some, depending on the
> destination pc.
> I then implemented a custom configuration backend in a plugin.
>
> To have it loaded by minisip, without changing the code of the stack , so
> that it remains compatible with future versions ,
> I need to have ActiveXPropsBackEnd ::getName()
> return one of the names hardcoded into ConfigRegistry::createBackend ..
> ( arbitrarily chosed « onlineconf » )
>
> I guess its not the final design of the plugin system, is there a better
> thing I should do ?
>
I think selection of config backend could be improved in minisip. We
could use for example a program argument, parsed by the Minisip
constructor, or an environment variable.
Mikael
_______________________________________________
Minisip-devel mailing list
Minisip-devel at minisip.org
http://lists.minisip.org/mailman/listinfo/minisip-devel
More information about the Minisip-devel
mailing list