Method

PhoshNotificationListadd

Declaration [src]

void
phosh_notification_list_add (
  PhoshNotificationList* self,
  const char* source_id,
  PhoshNotification* notification
)

Description [src]

Registers a new notification with self adding to (or creating) the relevant PhoshNotificationSource.

Parameters

source_id const char*
 

Id of the PhoshNotificationSource notification belongs to (may not currently exist)

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
notification PhoshNotification
 

The new PhoshNotification.

 The data is owned by the caller of the function.