Aw event

From ActiveWiki
Revision as of 16:23, 31 October 2008 by Macavity (talk | contribs) (Added in)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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