>
gnorbaGNOME CORBA Framework | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
enum GnorbaInitFlags; |
The gnorba routines relate to making basic use of CORBA in a GNOME application. This covers integrating the ORBit main loop with glib, adding basic security to CORBA connections, and accessing the CORBA name service for the session.
typedef enum { GNORBA_INIT_SERVER_FUNC = 1 << 0, GNORBA_INIT_DISABLE_COOKIES = 1 << 1 } GnorbaInitFlags; |
GNORBA_INIT_SERVER_FUNC specifies that this program intends to export implementations of CORBA objects to other programs
GNORBA_INIT_DISABLE_COOKIES turns off the GNOME CORBA security mechanism
|
Wrapper around the GNORBA CORBA support routines for GNOME applications. This routine takes care of calling gnome_init after registering our command line arguments. After gnome_init is invoked, the GNORBA CORBA setup is bootstrapped by calling gnorba_CORBA_init for you.
app_id : | Application id. |
app_version : | Application version. |
argc : | pointer to argc (for example, as received by main) |
argv : | pointer to argv (for example, as received by main) |
gnorba_flags : | GNORBA initialization flags. |
ev : | CORBA Environment to return CORBA errors. |
Returns : | the CORBA_ORB for this application. |
|
Wrapper around the GNORBA CORBA support routines for GNOME applications. This routine takes care of calling gnome_init after registering our command line arguments. After gnome_init is invoked, the GNORBA CORBA setup is bootstrapped by calling gnorba_CORBA_init for you.
This differs from gnome_CORBA_init only in that it provides a way to pass a table of popt options for argument parsing.
If you pass return_ctx, you need to release it with the proper popt routine where you are done.
app_id : | Application id. |
app_version : | Application version. |
argc : | pointer to argc (for example, as received by main) |
argv : | argv (for example, as received by main) |
options : | an array of poptOptions. |
popt_flags : | flags passes to popt. |
return_ctx : | if non-NULL a popt context is returned here. |
gnorba_flags : | GNORBA initialization flags. |
ev : | CORBA Environment to return CORBA errors. |
Returns : | the CORBA_ORB for this application. |
|
Returns : | the CORBA_ORB initialized by the GNORBA libraries. |
|
Sets up the ORBit connection add/remove function pointers to our routines, which inform the gtk main loop about the CORBA connection fd's.
Calls gnome_init and CORBA_ORB_init with the specified params.
Sets up a cookie for requests.
argc : | argc pointer from the application |
argv : | argv from the application |
flags : | GnorbaInitFlags that control the way we startup |
ev : | A CORBA_Environment for catching CORBA errors |
Returns : | the CORBA_ORB initialized by the GNORBA libraries. |