An observer of notifications. More...
#include "observer.h"
Data Fields | |
enum NotifyType | type |
Notification type to observe, e.g. NT_WINDOW. | |
observer_t | callback |
Callback function for events. | |
void * | global_data |
Private data to pass to callback. | |
An observer of notifications.
Definition at line 59 of file observer.h.
enum NotifyType Observer::type |
Notification type to observe, e.g. NT_WINDOW.
Definition at line 61 of file observer.h.
observer_t Observer::callback |
Callback function for events.
Definition at line 62 of file observer.h.
void* Observer::global_data |
Private data to pass to callback.
Definition at line 63 of file observer.h.