GdaServer

Name

GdaServer -- 

Synopsis



struct      GdaServerPrivate;
GdaServer*  gda_server_new                  (const gchar *factory_iid);
void        gda_server_register_component   (GdaServer *server,
                                             const char *iid,
                                             GType type);
void        gda_server_unregister_component (GdaServer *server,
                                             const char *iid);

Description

Details

struct GdaServerPrivate

struct GdaServerPrivate;


gda_server_new ()

GdaServer*  gda_server_new                  (const gchar *factory_iid);

Creates a new GdaServer object, which is the main object you should create when creating new providers or other extension components.

factory_iid : IID of the factory for this server.
Returns : a newly allocated GdaServer object.


gda_server_register_component ()

void        gda_server_register_component   (GdaServer *server,
                                             const char *iid,
                                             GType type);

Registers a component on the given GdaServer object. If successfull, the server will be able to create instances of the component specified.

server : a GdaServer object.
iid : IID of the component to be registered.
type : type of the class for creating instances for the component being registered.


gda_server_unregister_component ()

void        gda_server_unregister_component (GdaServer *server,
                                             const char *iid);

server : 
iid :