aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-02-10 15:14:29 -0600
committerTed Gould <ted@canonical.com>2009-02-10 15:14:29 -0600
commit01244bcd32bc6525a3b5e11d2951f36ad591b6e6 (patch)
tree112c2cd4a5138e6230d53ba8324c41d3c43a3e25
parenta9e725a2af2700c64fe2b5e9bd77fdd3d4558848 (diff)
downloadlibayatana-indicator-01244bcd32bc6525a3b5e11d2951f36ad591b6e6.tar.gz
libayatana-indicator-01244bcd32bc6525a3b5e11d2951f36ad591b6e6.tar.bz2
libayatana-indicator-01244bcd32bc6525a3b5e11d2951f36ad591b6e6.zip
Adding an API for getting the type and desktop files
-rw-r--r--libindicate/listener.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libindicate/listener.h b/libindicate/listener.h
index ddf0281..3bcad00 100644
--- a/libindicate/listener.h
+++ b/libindicate/listener.h
@@ -51,6 +51,8 @@ struct _IndicateListenerClass {
GType indicate_listener_get_type (void) G_GNUC_CONST;
typedef void (*indicate_listener_get_property_cb) (IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator, gchar * property, gchar * propertydata, gpointer data);
+typedef void (*indicate_listener_get_type_cb) (IndicateListener * listener, IndicateListenerServer * server, gchar * type, gpointer data);
+typedef void (*indicate_listener_get_desktop_cb) (IndicateListener * listener, IndicateListenerServer * server, gchar * desktop, gpointer data);
/* Create a new listener */
IndicateListener * indicate_listener_new (void);
@@ -63,6 +65,14 @@ void indicate_listener_get_property (IndicateListener * liste
void indicate_listener_display (IndicateListener * listener,
IndicateListenerServer * server,
IndicateListenerIndicator * indicator);
+void indicate_listener_get_type (IndicateListener * listener,
+ IndicateListenerServer * server,
+ indicate_listener_get_type_cb callback,
+ gpointer data);
+void indicate_listener_get_desktop (IndicateListener * listener,
+ IndicateListenerServer * server,
+ indicate_listener_get_desktop_cb callback,
+ gpointer data);