1#ifndef POSER_CORE_EVENT_H
2#define POSER_CORE_EVENT_H
47 CMETHOD ATTR_NONNULL((3));
61 CMETHOD ATTR_NONNULL((3));
void PSC_Event_destroy(PSC_Event *self)
PSC_Event destructor.
void PSC_Event_raise(PSC_Event *self, int id, void *args)
Raise an event.
void PSC_Event_register(PSC_Event *self, void *receiver, PSC_EventHandler handler, int id)
Register an event handler.
PSC_Event * PSC_Event_create(void *sender)
PSC_Event constructor.
void PSC_Event_unregister(PSC_Event *self, void *receiver, PSC_EventHandler handler, int id)
Unregister an event handler.
void(* PSC_EventHandler)(void *receiver, void *sender, void *args)
An event handler.
Definition: event.h:15