diff options
author | Ted Gould <ted@canonical.com> | 2009-02-05 15:27:42 +0100 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-02-05 15:27:42 +0100 |
commit | a14b6ddf7db70eff5d831aa1e9e11b46b726002f (patch) | |
tree | 40a058ff817fba1e27028cab4e45a0d707bf3a93 /libindicate/server.h | |
parent | d52c59bb78c033753254b647e44b43a28edb91c2 (diff) | |
download | libayatana-indicator-a14b6ddf7db70eff5d831aa1e9e11b46b726002f.tar.gz libayatana-indicator-a14b6ddf7db70eff5d831aa1e9e11b46b726002f.tar.bz2 libayatana-indicator-a14b6ddf7db70eff5d831aa1e9e11b46b726002f.zip |
Changing the DBUS API slightly. Now there is no 'get_desktop' function as desktop is a property. Added a property for type so that we can understand what kind of application this is. And finally adding show/hide signals on the server as they were already on the listener.
Diffstat (limited to 'libindicate/server.h')
-rw-r--r-- | libindicate/server.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libindicate/server.h b/libindicate/server.h index eccf3c6..c2b2191 100644 --- a/libindicate/server.h +++ b/libindicate/server.h @@ -30,9 +30,10 @@ struct _IndicateServerClass { 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); + void (* server_show) (IndicateServer * server, gchar * type); + void (* server_hide) (IndicateServer * server, gchar * type); /* 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); gboolean (*get_indicator_list) (IndicateServer * server, GArray ** indicators, GError ** error); @@ -71,7 +72,6 @@ IndicateServer * indicate_server_ref_default (void); void indicate_server_set_default (IndicateServer * server); /* DBus API */ -gboolean indicate_server_get_desktop (IndicateServer * server, gchar ** desktop_path, GError **error); gboolean indicate_server_get_indicator_count (IndicateServer * server, guint * count, GError **error); gboolean indicate_server_get_indicator_count_by_type (IndicateServer * server, gchar * type, guint * count, GError **error); gboolean indicate_server_get_indicator_list (IndicateServer * server, GArray ** indicators, GError ** error); |