void mutt_color_observer_remove(observer_t callback, void *global_data)
Remove an observer.
struct Notify * ColorsNotify
Notifications: ColorId, EventColor.
void color_notify_init(struct Notify *parent)
Initialise the Colour notification.
void mutt_color_observer_add(observer_t callback, void *global_data)
Add an observer.
void color_notify_cleanup(void)
Free the Colour notification.
Convenience wrapper for the library headers.
bool notify_observer_remove(struct Notify *notify, const observer_t callback, const void *global_data)
Remove an observer from an object.
bool notify_observer_add(struct Notify *notify, enum NotifyType type, observer_t callback, void *global_data)
Add an observer to an object.
struct Notify * notify_new(void)
Create a new notifications handler.
void notify_set_parent(struct Notify *notify, struct Notify *parent)
Set the parent notification handler.
void notify_free(struct Notify **ptr)
Free a notification handler.
@ NT_COLOR
Colour has changed, NotifyColor, EventColor.
int(* observer_t)(struct NotifyCallback *nc)
struct Notify * parent
Parent of the notification object.