cpp: Wrapping C server implementations.



I'm trying to think about how to wrap libbonobo*'s various server
implementations for C++. These seem to be anything that derives from
BonoboObject. They implement an interface and provide a sugary C API.
For instance, BonoboControlFrame in libbonoboui.

Obviously the C++ equivalent should inherit from the generated 
POA_Bonobo::ControlFrame skel, just like a real C++ CORBA server. But by
doing that we are actually implementing another server. We'd then have 2
CORBA servers "running" (I'm not sure exactly what that means), with the
C++ server delegating to the C server. That seems odd.

-- 
Murray Cumming
murrayc usa net
www.murrayc.com




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