Top | ![]() |
![]() |
![]() |
![]() |
gboolean | bonobo_is_initialized () |
gboolean | bonobo_init () |
gboolean | bonobo_init_full () |
void | bonobo_debug_init () |
void | bonobo_debug_print () |
int | bonobo_debug_shutdown () |
void | bonobo_main () |
void | bonobo_main_quit () |
guint | bonobo_main_level () |
gboolean | bonobo_activate () |
void | bonobo_setup_x_error_handler () |
CORBA_ORB | bonobo_orb () |
PortableServer_POA | bonobo_poa () |
PortableServer_POAManager | bonobo_poa_manager () |
PortableServer_POA | bonobo_poa_get_threaded () |
gboolean
bonobo_is_initialized (void
);
This allows you to protect against double initialization in your code.
gboolean bonobo_init (int *argc
,char **argv
);
Initializes the bonobo component model.
Returns TRUE
on success, or FALSE
on failure.
gboolean bonobo_init_full (int *argc
,char **argv
,CORBA_ORB opt_orb
,PortableServer_POA opt_poa
,PortableServer_POAManager opt_manager
);
Initializes the bonobo document model. It requires at least
the value for orb
. If poa
is CORBA_OBJECT_NIL, then the
RootPOA will be used, in this case manager
should be CORBA_OBJECT_NIL.
Returns TRUE
on success, or FALSE
on failure.
int
bonobo_debug_shutdown (void
);
This shuts down the ORB and any other bonobo related resources.
void
bonobo_main (void
);
Activates the Bonobo POA Manager and enters the main event loop.
guint
bonobo_main_level (void
);
Determines the number of times the bonobo main loop has been entered (minus the number of exits from the main loop).
gboolean
bonobo_activate (void
);
Activates the Bonobo POA manager registered by bonobo_init.
This should be called at the end of application initialization.
You do not need to call this function if you use bonobo_main()
.
Returns TRUE
on success, or FALSE
on failure.
PortableServer_POAManager
bonobo_poa_manager (void
);
The POA Manager used for this Bonobo application. The POA
Manager is created when bonobo_init()
is called, but it is not
activated until bonobo_main()
is called.