RmNotification

RmNotification — Notification center - Keeps track of messages and displays them to the user

Functions

Types and Values

Description

Sends/Closes notification message and keeps tracks of messages and notification plugins.

Functions

rm_notification_get ()

RmNotification *
rm_notification_get (gchar *name);

Get notification service with provided name .

Parameters

name

name of notification service

 

Returns

a RmNotification or NULL if not found.


rm_notification_init ()

void
rm_notification_init (void);

Initializes notification handling. Connects to ::connection-changed signal.


rm_notification_shutdown ()

void
rm_notification_shutdown (void);

Shuts notification service down. Disconnects from ::connection-changed signal.


rm_notification_register ()

void
rm_notification_register (RmNotification *notification);

Register a new notification.

Parameters

notification

a RmNotification

 

rm_notification_unregister ()

void
rm_notification_unregister (RmNotification *notification);

Unregister a notification.

Parameters

notification

a RmNotification

 

rm_notification_get_plugins ()

GList *
rm_notification_get_plugins (void);

Get notification plugin list.

Returns

a GList of notification plugins.


rm_notification_get_name ()

gchar *
rm_notification_get_name (RmNotification *notification);

Get name of notification .

Parameters

notification

a RmNotification

 

Returns

name of notification


rm_notification_message_close ()

void
rm_notification_message_close (RmNotificationMessage *message);

Close RmNotificationMessages defined by connection and frees it.

Parameters

message

a RmNotificationMessage

 

rm_notification_message_get ()

RmNotificationMessage *
rm_notification_message_get (RmConnection *connection);

Get notification message with attached connection .

Parameters

connection

a RmConnection

 

Returns

a RmNotificationMessage or NULL if not found

Types and Values

RmNotificationMessage

typedef struct RmNotificationMessage RmNotificationMessage;

The RmNotificationMessage contains only private fileds and should not be directly accessed.


RmNotification

typedef struct RmNotification RmNotification;

The RmNotification contains only private fileds and should not be directly accessed.