libhildondesktop Reference Manual | ||||
---|---|---|---|---|
#include <libhildondesktop/libhildondesktop.h> HDNotificationPlugin; HDNotificationPluginIface; void hd_notification_plugin_notify (HDNotificationPlugin *plugin, HDNotification *notification);
Interface to be implemented by notification plugins.
The ""notify()
function of the plugin is called for each incoming notification,
except for notifications that are internal to or only handled by the desktop code.
See HDNotification for more information about the notifications.
typedef struct { void (*notify) (HDNotificationPlugin *plugin, HDNotification *notification); } HDNotificationPluginIface;
notify () |
The notify function is called for each incoming notification, except
for notifications that are internal to or only handled by the desktop code.
Overriding notify is required. See hd_notification_plugin_notify() .
|
void hd_notification_plugin_notify (HDNotificationPlugin *plugin, HDNotification *notification);
Calls the ""notify()
fucntion.
plugin : |
a HDNotificationPlugin |
notification : |
the HDNotification which was raised |