NeoMutt  2021-02-05-89-gabe350
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 59 of file observer.h.

Field Documentation

◆ type

enum NotifyType Observer::type

Notification type to observe, e.g. NT_WINDOW.

Definition at line 61 of file observer.h.

◆ callback

observer_t Observer::callback

Callback function for events.

Definition at line 62 of file observer.h.

◆ global_data

void* Observer::global_data

Private data to pass to callback.

Definition at line 63 of file observer.h.

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