aboutsummaryrefslogtreecommitdiff
path: root/libindicate/server.h
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-01-08 15:35:35 -0600
committerTed Gould <ted@canonical.com>2009-01-08 15:35:35 -0600
commit7e75808fd0afe3dda6aa813ccf9fdb82cab11466 (patch)
tree4383e2d0e3803bf412fdfc8b05102e6ded61723b /libindicate/server.h
parente2a3557771a519d9405ccd92a58a0b6ec82624ce (diff)
downloadlibayatana-indicator-7e75808fd0afe3dda6aa813ccf9fdb82cab11466.tar.gz
libayatana-indicator-7e75808fd0afe3dda6aa813ccf9fdb82cab11466.tar.bz2
libayatana-indicator-7e75808fd0afe3dda6aa813ccf9fdb82cab11466.zip
Building a pretty good set of virtual functions and getting them tied together, with errors too.
Diffstat (limited to 'libindicate/server.h')
-rw-r--r--libindicate/server.h9
1 files changed, 9 insertions, 0 deletions
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 */