[compiz] re-work option initialization
Mike Dransfield
mike at blueroot.co.uk
Thu Mar 29 09:33:26 PDT 2007
Dennis Kasprzyk wrote:
>
> The problem is that we already have additional data in the plugins. So we
> should be consistent here and remove also the long/short decriptions of the
> option struct and or the plugin vtable and move it to an additional file or
> have everything in the plugin. A mixture of both is simply stupid. I can live
> with both because I can use bcop to generate what I want.
>
To me, it would make more sense to pull out
the descriptions rather than add extra identifiers.
This might be tricky to implement. Maybe each config
backend could also be responsible for loading these
extra pieces of information. That way each distro can
easily change defaults as well as descriptions if they
choose. Dbus etc would then also have access to this
information.
Then if you need extra information for your particular
backend you can include it in your data.
More information about the compiz
mailing list