diff options
author | Neil Jagdish Patel <neil.patel@canonical.com> | 2009-02-03 10:36:09 +0100 |
---|---|---|
committer | Neil Jagdish Patel <neil.patel@canonical.com> | 2009-02-03 10:36:09 +0100 |
commit | 67d296734248fdb9a2c322e726ff7652bdbf6095 (patch) | |
tree | 617a505d28f0223c330ceb513bb74b0d52be1940 /libindicate/server.h | |
parent | a0440fa801049ef2db084e9d56b4dd53e4719079 (diff) | |
download | libayatana-indicator-67d296734248fdb9a2c322e726ff7652bdbf6095.tar.gz libayatana-indicator-67d296734248fdb9a2c322e726ff7652bdbf6095.tar.bz2 libayatana-indicator-67d296734248fdb9a2c322e726ff7652bdbf6095.zip |
Allow sub-classes of server to emit signals using three new public functions
Diffstat (limited to 'libindicate/server.h')
-rw-r--r-- | libindicate/server.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libindicate/server.h b/libindicate/server.h index 482fb9a..eccf3c6 100644 --- a/libindicate/server.h +++ b/libindicate/server.h @@ -81,6 +81,11 @@ gboolean indicate_server_get_indicator_property_group (IndicateServer * server, gboolean indicate_server_get_indicator_properties (IndicateServer * server, guint id, gchar *** properties, GError **error); gboolean indicate_server_show_indicator_to_user (IndicateServer * server, guint id, GError ** error); +/* Signal emission functions for sub-classes of the server */ +void indicate_server_emit_indicator_added (IndicateServer *server, guint id, const gchar *type); +void indicate_server_emit_indicator_removed (IndicateServer *server, guint id, const gchar *type); +void indicate_server_emit_indicator_modified (IndicateServer *server, guint id, const gchar *property); + G_END_DECLS #endif /* INDICATE_SERVER_H_INCLUDED__ */ |