aboutsummaryrefslogtreecommitdiff
path: root/libindicate/server.h
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-01-11 23:51:55 -0600
committerTed Gould <ted@canonical.com>2009-01-11 23:51:55 -0600
commitbea741f5b7ba5aaa28c353fd32c44032686719d5 (patch)
tree3f58221a1f78ab71b936ad34e6cad5a713686a41 /libindicate/server.h
parent4d937802ae225e0c3d5c6910697b1b9ebb8dfe93 (diff)
downloadlibayatana-indicator-bea741f5b7ba5aaa28c353fd32c44032686719d5.tar.gz
libayatana-indicator-bea741f5b7ba5aaa28c353fd32c44032686719d5.tar.bz2
libayatana-indicator-bea741f5b7ba5aaa28c353fd32c44032686719d5.zip
Adding in signals so that we can talk to the app over DBus. Nice.
Diffstat (limited to 'libindicate/server.h')
-rw-r--r--libindicate/server.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libindicate/server.h b/libindicate/server.h
index cf52c0e..78c4d4b 100644
--- a/libindicate/server.h
+++ b/libindicate/server.h
@@ -28,6 +28,12 @@ typedef struct _IndicateServerClass IndicateServerClass;
struct _IndicateServerClass {
GObjectClass parent;
+ /* Signals */
+ void (* indicator_added) (IndicateServer * server, guint id, gchar * type);
+ void (* indicator_removed) (IndicateServer * server, guint id, gchar * type);
+ void (* indicator_modified) (IndicateServer * server, guint id, gchar * property);
+
+ /* Virtual Functions */
gboolean (*get_desktop) (IndicateServer * server, gchar ** desktop_path, GError **error);
gboolean (*get_indicator_count) (IndicateServer * server, guint * count, GError **error);
gboolean (*get_indicator_count_by_type) (IndicateServer * server, gchar * type, guint * count, GError **error);