bonobo-context

bonobo-context

Functions

Description

Functions

bonobo_context_get ()

Bonobo_Unknown
bonobo_context_get (const CORBA_char *context_name,
                    CORBA_Environment *opt_ev);

The most useful context is named 'Activation' and returns the IDL:Bonobo/ActivationContext:1.0 interface.

Parameters

context_name

the name of the context

 

opt_ev

optional Environment, or NULL

 

Returns

a new reference to a global Bonobo context or CORBA_OBJECT_NIL


bonobo_context_add ()

void
bonobo_context_add (const CORBA_char *context_name,
                    Bonobo_Unknown context);

This function adds a new context to the context system

Parameters

context_name

the name to refer to the context by

 

context

The Bonobo_Unknown; a ref. is taken on this.

 

bonobo_context_running_get ()

BonoboObject *
bonobo_context_running_get (void);

bonobo_running_context_auto_exit_unref ()

void
bonobo_running_context_auto_exit_unref
                               (BonoboObject *object);