From 7e75808fd0afe3dda6aa813ccf9fdb82cab11466 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 8 Jan 2009 15:35:35 -0600 Subject: Building a pretty good set of virtual functions and getting them tied together, with errors too. --- libindicate/server.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libindicate/server.h') diff --git a/libindicate/server.h b/libindicate/server.h index 79a314b..28529dd 100644 --- a/libindicate/server.h +++ b/libindicate/server.h @@ -23,6 +23,15 @@ typedef struct _IndicateServerClass IndicateServerClass; struct _IndicateServerClass { GObjectClass parent; + 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, guint ** indicators, GError ** error); + gboolean (*get_indicator_list_by_type) (IndicateServer * server, gchar * type, guint ** indicators, GError ** error); + gboolean (*get_indicator_property) (IndicateServer * server, guint id, gchar * property, gchar ** value, GError **error); + gboolean (*get_indicator_property_group) (IndicateServer * server, guint id, gchar ** properties, gchar *** value, GError **error); + gboolean (*get_indicator_properties) (IndicateServer * server, guint id, gchar *** properties, GError **error); + gboolean (*show_indicator_to_user) (IndicateServer * server, guint id, GError ** error); }; /* Create a new server */ -- cgit v1.2.3