diff options
author | Ted Gould <ted@canonical.com> | 2009-01-07 17:42:24 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-01-07 17:42:24 -0600 |
commit | cd42ea20bfad6d7e8daf51c34f57a4200f811c1f (patch) | |
tree | ec806b53fc25e85022c20bbe6741c71b8df5471c /libindicate | |
parent | ff7715c707091e4f073e11eeb0415c8d0788e1cd (diff) | |
download | libayatana-indicator-cd42ea20bfad6d7e8daf51c34f57a4200f811c1f.tar.gz libayatana-indicator-cd42ea20bfad6d7e8daf51c34f57a4200f811c1f.tar.bz2 libayatana-indicator-cd42ea20bfad6d7e8daf51c34f57a4200f811c1f.zip |
Basic server stuff
Diffstat (limited to 'libindicate')
-rw-r--r-- | libindicate/server.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/libindicate/server.h b/libindicate/server.h index e06ee08..1627f21 100644 --- a/libindicate/server.h +++ b/libindicate/server.h @@ -4,10 +4,23 @@ /* Boilerplate */ #define INDICATE_TYPE_SERVER (indicate_server_get_type ()) -#define INDICATE_SERVER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), INDICATE_TYPE_SERVER, IndicateIndicator)) +#define INDICATE_SERVER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), INDICATE_TYPE_SERVER, IndicateServer)) #define INDICATE_IS_SERVER(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), INDICATE_TYPE_SERVER)) +#define INDICATE_SERVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), INDICATE_TYPE_SERVER, IndicateServerClass)) +#define INDICATE_IS_SERVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), INDICATE_TYPE_SERVER)) +#define INDICATE_SERVER_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), INDICATE_TYPE_SERVER, IndicateServerClass)) typedef struct _IndicateServer IndicateServer; +struct _IndicateServer { + GObject parent; + +}; + +typedef struct _IndicateServerClass IndicateServerClass; +struct _IndicateServerClass { + GObjectClass parent; + +}; /* Create a new server */ IndicateServer * indicate_server_new (void); |