Implementation and wrappers combined?



Am I right in thinking that some source files in the bonobo directory contain
both implementations of bonobo servers *and* some code to make it easy to use
those servers from client C code?

For instance, I was exploring Gnumeric, trying to figure out how it uses
Bonobo, and I found calls like this:

wbcg->uic = bonobo_ui_component_new_default();

That function is defined in bonobo in bonobo-ui-component.h/.c, which seems to
contain mostly implementations for the Bonobo::UIComponent interface.
bonobo_ui_component_new_default() does not seem to get any mention in
Bonobo_UI.idl.

If I am correct, then it seems stupid to combine server implementation with
C-specific client wrappers.

Also, if I am correct, just how much client code is there in the bonobo
directory?



Murray Cumming
murrayc usa net
www.murrayc.com

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]