Delta Chat Core C Interface
|
Opaque object that is used to get events from a single context. More...
#include <deltachat.h>
Public Member Functions | |
void | dc_event_emitter_unref (dc_event_emitter_t *emitter) |
Free a context event emitter object. | |
dc_event_t * | dc_get_next_event (dc_event_emitter_t *emitter) |
Get the next event from a context event emitter object. | |
Opaque object that is used to get events from a single context.
You can get an event emitter from a context using dc_get_event_emitter() or dc_accounts_get_event_emitter().
void dc_event_emitter_unref | ( | dc_event_emitter_t * | emitter | ) |
Free a context event emitter object.
emitter | Event emitter object as returned from dc_get_event_emitter(). If NULL is given, nothing is done and an error is logged. |
dc_event_t * dc_get_next_event | ( | dc_event_emitter_t * | emitter | ) |
Get the next event from a context event emitter object.
emitter | Event emitter object as returned from dc_get_event_emitter(). |