diff options
author | Ted Gould <ted@canonical.com> | 2009-01-08 11:31:53 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-01-08 11:31:53 -0600 |
commit | e2a3557771a519d9405ccd92a58a0b6ec82624ce (patch) | |
tree | 2da1481e9f54b0b324bc0e38308981ce71b8a05c /libindicate/server.c | |
parent | d505bedae46aed1e835aaa322d685a5b497d585c (diff) | |
download | libayatana-indicator-e2a3557771a519d9405ccd92a58a0b6ec82624ce.tar.gz libayatana-indicator-e2a3557771a519d9405ccd92a58a0b6ec82624ce.tar.bz2 libayatana-indicator-e2a3557771a519d9405ccd92a58a0b6ec82624ce.zip |
Basic GObject stuff
Diffstat (limited to 'libindicate/server.c')
-rw-r--r-- | libindicate/server.c | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/libindicate/server.c b/libindicate/server.c index 74b3ad7..0a0eab1 100644 --- a/libindicate/server.c +++ b/libindicate/server.c @@ -2,3 +2,47 @@ #include "server.h" #include "dbus-indicate-server.h" + +/* Signals */ +enum { + INDICATOR_ADDED, + INDICATOR_REMOVED, + INDICATOR_MODIFIED, + LAST_SIGNAL +}; + +static guint signals[LAST_SIGNAL] = { 0 }; + +G_DEFINE_TYPE (IndicateServer, indicate_server, G_TYPE_OBJECT); + +/* Prototypes */ +static void indicate_server_finalize (GObject * obj); + +/* Code */ +static void +indicate_server_class_init (IndicateServerClass * class) +{ + GObjectClass * gobj; + gobj = G_OBJECT_CLASS(class); + + gobj->finalize = indicate_server_finalize; + + + return; +} + +static void +indicate_server_init (IndicateServer * server) +{ + + + return; +} + +static void +indicate_server_finalize (GObject * obj) +{ + + + return; +} |