diff options
author | Ted Gould <ted@canonical.com> | 2009-02-10 15:14:29 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-02-10 15:14:29 -0600 |
commit | 01244bcd32bc6525a3b5e11d2951f36ad591b6e6 (patch) | |
tree | 112c2cd4a5138e6230d53ba8324c41d3c43a3e25 | |
parent | a9e725a2af2700c64fe2b5e9bd77fdd3d4558848 (diff) | |
download | libayatana-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.h | 10 |
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); |