2 * atlantis-server.h - The Atlantis server
3 * (c) 2008 Sander Dijkhuis <sander.dijkhuis@gmail.com>
4 * Still need to decide about licensing. Ask if interested.
7 #ifndef ATLANTIS_SERVER_H
8 #define ATLANTIS_SERVER_H
12 #include <glib-object.h>
14 #define ATLANTIS_TYPE_SERVER (atlantis_server_get_type ())
15 #define ATLANTIS_SERVER(obj) (G_TYPE_CHECK_CLASS_CAST \
16 ((obj), ATLANTIS_TYPE_SERVER, AtlantisServer))
17 #define ATLANTIS_SERVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST \
18 ((klass), ATLANTIS_TYPE_SERVER, \
20 #define ATLANTIS_IS_SERVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE \
21 ((obj), ATLANTIS_TYPE_SERVER))
22 #define ATLANTIS_SERVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS \
23 ((obj), ATLANTIS_TYPE_SERVER, \
26 typedef struct _AtlantisServer AtlantisServer
;
27 typedef struct _AtlantisServerClass AtlantisServerClass
;
28 typedef struct _AtlantisServerPrivate AtlantisServerPrivate
;
30 struct _AtlantisServer
35 AtlantisServerPrivate
*private;
38 struct _AtlantisServerClass
41 /* class members go here */
45 atlantis_server_get_type (void);
48 atlantis_server_new (void);
51 atlantis_server_register_service (AtlantisServer
*server
,