config file backend : plugin name ?
Mikael Magnusson
mikma264 at gmail.com
Mon Nov 20 11:51:38 CET 2006
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 it’s 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
More information about the Minisip-devel
mailing list