NeoMutt  2023-03-22-27-g3cb248
Teaching an old dog new tricks
NotifyCallback Struct Reference

Data passed to a notification function. More...

#include "observer.h"

+ Collaboration diagram for NotifyCallback:

Data Fields

struct Notifycurrent
 Notify object being observed. More...
enum NotifyType event_type
 Send: Event type, e.g. NT_ACCOUNT. More...
int event_subtype
 Send: Event subtype, e.g. NT_ACCOUNT_ADD. More...
void * event_data
 Data from notify_send() More...
void * global_data
 Data from notify_observer_add() More...

Detailed Description

Data passed to a notification function.

Definition at line 33 of file observer.h.

Field Documentation

◆ current

struct Notify* NotifyCallback::current

Notify object being observed.

Definition at line 35 of file observer.h.

◆ event_type

enum NotifyType NotifyCallback::event_type

Send: Event type, e.g. NT_ACCOUNT.

Definition at line 36 of file observer.h.

◆ event_subtype

int NotifyCallback::event_subtype

Send: Event subtype, e.g. NT_ACCOUNT_ADD.

Definition at line 37 of file observer.h.

◆ event_data

void* NotifyCallback::event_data

Data from notify_send()

Definition at line 38 of file observer.h.

◆ global_data

void* NotifyCallback::global_data

Data from notify_observer_add()

Definition at line 39 of file observer.h.

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