Displaying 1 result from an estimated 1 matches for "optionproc".
2007 Mar 29
7
re-work option initialization
...commend a configuration backend to do this. However,
it's easy to provide for plugins built as shared libraries and I don't
want to prevent anyone from doing this if they wish to.
Here's our current idea for how we can solve these issues:
Add
typedef Bool (*InitPlugin(Display|Screen)OptionProc) (CompOption *o,
int index);
or
typedef Bool (*InitPlugin(Display|Screen)OptionsProc) (CompOption **o);
and the number of display and screen options to the plugin vTable. I
prefer the function prototype with the index as it's a bit...