NeoMutt  2022-04-29-81-g9c5a59
Teaching an old dog new tricks
Go to the documentation of this file.
29 #include "config.h"
30 #include "mutt/lib.h"
31 #include "core/lib.h"
32 #include "lib.h"
40 {
43 }
49 {
51 }
59 {
61 }
69 {
71 }
void color_notify_free(void)
Free the Colour notification.
Definition: notify.c:48
void mutt_color_observer_remove(observer_t callback, void *global_data)
Remove an observer.
Definition: notify.c:68
struct Notify * ColorsNotify
Notifications: ColorId, EventColor.
Definition: notify.c:34
void mutt_color_observer_add(observer_t callback, void *global_data)
Add an observer.
Definition: notify.c:58
void color_notify_init(void)
Initialise the Colour notification.
Definition: notify.c:39
Convenience wrapper for the core headers.
Convenience wrapper for the library headers.
struct Notify * notify_new(void)
Create a new notifications handler.
Definition: notify.c:60
bool notify_observer_remove(struct Notify *notify, observer_t callback, void *global_data)
Remove an observer from an object.
Definition: notify.c:228
bool notify_observer_add(struct Notify *notify, enum NotifyType type, observer_t callback, void *global_data)
Add an observer to an object.
Definition: notify.c:189
void notify_set_parent(struct Notify *notify, struct Notify *parent)
Set the parent notification handler.
Definition: notify.c:93
void notify_free(struct Notify **ptr)
Free a notification handler.
Definition: notify.c:73
Colour has changed, NotifyColor, EventColor.
Definition: notify_type.h:41
int(* observer_t)(struct NotifyCallback *nc)
Definition: observer.h:55
static void * global_data
Original opaque data in fallback implementation.
Definition: qsort_r.c:49
Key value store.
Container for Accounts, Notifications.
Definition: neomutt.h:37
struct Notify * notify
Notifications handler.
Definition: neomutt.h:38
Notification API.
Definition: notify.c:51