diff options
author | Ted Gould <ted@canonical.com> | 2009-02-12 16:46:31 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-02-12 16:46:31 -0600 |
commit | a7d062ccbb160119819da8e3f01cdaadc922c24e (patch) | |
tree | f4e403b6e267e437659d850567b02ed2a0861256 /libindicate/listener.h | |
parent | 24fd755fa2347344ab7491f387ce3771a825bd7e (diff) | |
parent | 2c157aa63cbc5904ca8ae1481a705309be6b7ed2 (diff) | |
download | libayatana-indicator-a7d062ccbb160119819da8e3f01cdaadc922c24e.tar.gz libayatana-indicator-a7d062ccbb160119819da8e3f01cdaadc922c24e.tar.bz2 libayatana-indicator-a7d062ccbb160119819da8e3f01cdaadc922c24e.zip |
Making time and icons happy and work well. Also adding lots of fun tests for them.
Diffstat (limited to 'libindicate/listener.h')
-rw-r--r-- | libindicate/listener.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libindicate/listener.h b/libindicate/listener.h index 3d8c7ef..ed40630 100644 --- a/libindicate/listener.h +++ b/libindicate/listener.h @@ -33,6 +33,8 @@ License version 3 and version 2.1 along with this program. If not, see #include <glib.h> #include <glib-object.h> +#include <gdk-pixbuf/gdk-pixbuf.h> + #include "indicator.h" #include "server.h" @@ -79,6 +81,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_property_time_cb) (IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator, gchar * property, GTimeVal * propertydata, gpointer data); +typedef void (*indicate_listener_get_property_icon_cb) (IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator, gchar * property, GdkPixbuf * propertydata, gpointer data); typedef void (*indicate_listener_get_server_property_cb) (IndicateListener * listener, IndicateListenerServer * server, gchar * value, gpointer data); /* Create a new listener */ @@ -90,6 +94,18 @@ void indicate_listener_get_property (IndicateListener * l gchar * property, indicate_listener_get_property_cb callback, gpointer data); +void indicate_listener_get_property_time (IndicateListener * listener, + IndicateListenerServer * server, + IndicateListenerIndicator * indicator, + gchar * property, + indicate_listener_get_property_time_cb callback, + gpointer data); +void indicate_listener_get_property_icon (IndicateListener * listener, + IndicateListenerServer * server, + IndicateListenerIndicator * indicator, + gchar * property, + indicate_listener_get_property_icon_cb callback, + gpointer data); void indicate_listener_display (IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator); |