Aw event

From ActiveWiki
Jump to navigation Jump to search


Minimum requirements
Added in version 2.1
SDKbuild 13


void (*aw_event (AW_EVENT e)) (void)

Description

Returns the handler for an event.

Callback

None

Arguments

e
Event (defined in Aw.h).

Argument attributes

None

Return values

Pointer
Pointer to the event handler.
NULL
If no event handler is installed. Or if the event was invalid.

Returned attributes

None

Usage

printf ("%s event handler is established for adding avatars",
        aw_event (AW_EVENT_AVATAR_ADD) ? "An" : "No");

See also

Notes