NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
Observer Struct Reference

An observer of notifications. More...

#include "observer.h"

+ Collaboration diagram for Observer:

Data Fields

enum NotifyType type
 Notification type to observe, e.g. NT_WINDOW. More...
observer_t callback
 Callback function for events. More...
void * global_data
 Private data to pass to callback. More...

Detailed Description

An observer of notifications.

Definition at line 63 of file observer.h.

Field Documentation

◆ type

enum NotifyType Observer::type

Notification type to observe, e.g. NT_WINDOW.

Definition at line 65 of file observer.h.

◆ callback

observer_t Observer::callback

Callback function for events.

Definition at line 66 of file observer.h.

◆ global_data

void* Observer::global_data

Private data to pass to callback.

Definition at line 67 of file observer.h.

The documentation for this struct was generated from the following file: