HDNotificationPlugin

HDNotificationPlugin — Interface for notification plugins.

Synopsis


#include <libhildondesktop/libhildondesktop.h>

                    HDNotificationPlugin;
                    HDNotificationPluginIface;
void                hd_notification_plugin_notify       (HDNotificationPlugin *plugin,
                                                         HDNotification *notification);

Object Hierarchy

  GInterface
   +----HDNotificationPlugin

Prerequisites

HDNotificationPlugin requires GObject.

Description

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.

Details

HDNotificationPlugin

typedef struct _HDNotificationPlugin HDNotificationPlugin;


HDNotificationPluginIface

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().

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