Top | ![]() |
![]() |
![]() |
![]() |
BonoboObject * | (*BonoboFactoryCallback) () |
BonoboGenericFactory * | bonobo_generic_factory_new () |
BonoboGenericFactory * | bonobo_generic_factory_new_closure () |
BonoboGenericFactory * | bonobo_generic_factory_construct () |
void | bonobo_generic_factory_construct_noreg () |
int | bonobo_generic_factory_main () |
int | bonobo_generic_factory_main_timeout () |
#define | BONOBO_FACTORY_INIT() |
#define | BONOBO_OAF_FACTORY() |
#define | BONOBO_OAF_FACTORY_MULTI() |
#define | BONOBO_ACTIVATION_FACTORY() |
#define | BONOBO_ACTIVATION_FACTORY_TIMEOUT() |
BonoboObject * (*BonoboFactoryCallback) (BonoboGenericFactory *factory
,const char *component_id
,gpointer closure
);
BonoboGenericFactory * bonobo_generic_factory_new (const char *act_iid
,BonoboFactoryCallback factory_cb
,gpointer user_data
);
This is a helper routine that simplifies the creation of factory
objects for GNOME objects. The factory
function will be
invoked by the CORBA server when a request arrives to create a new
instance of an object supporting the Bonobo::Generic interface.
The factory callback routine is passed the data
pointer to provide
the creation function with some state information.
BonoboGenericFactory * bonobo_generic_factory_new_closure (const char *act_iid
,GClosure *factory_closure
);
This is a helper routine that simplifies the creation of factory
objects for GNOME objects. The factory_closure
closure will be
invoked by the CORBA server when a request arrives to create a new
instance of an object supporting the Bonobo::Generic interface.
The factory callback routine is passed the data
pointer to provide
the creation function with some state information.
BonoboGenericFactory * bonobo_generic_factory_construct (BonoboGenericFactory *factory
,const char *act_iid
,GClosure *factory_closure
);
Initializes c_factory
with and registers the new factory with
the name server.
void bonobo_generic_factory_construct_noreg (BonoboGenericFactory *factory
,const char *act_iid
,GClosure *factory_closure
);
Initializes c_factory
with the supplied closure and iid.
int bonobo_generic_factory_main (const char *act_iid
,BonoboFactoryCallback factory_cb
,gpointer user_data
);
A Generic 'main' routine so we don't stick a load of code
inside a public macro. See also bonobo_generic_factory_main_timeout()
.
int bonobo_generic_factory_main_timeout (const char *act_iid
,BonoboFactoryCallback factory_cb
,gpointer user_data
,guint quit_timeout
);
A Generic 'main' routine so we don't stick a load of code inside a public macro.
#define BONOBO_ACTIVATION_FACTORY(oafiid, descr, version, callback, data)