hnm_DisplayEventFactory_init()

Initialize the display event "factory".

Synopsis:

#include <hnm/display_event.h>
 
void hnm_DisplayEventFactory_init(struct hnm_config_node *config_tree)

Arguments:

config_tree

Configuration tree used to initialize the state of the internal factory.

Library:

libhnm

Description:

Display events are generated by a "factory" responsible for allocating and initializing new DisplayEvent instances. Although the internal state of the factory isn't visible to other compilation units, a factory API is defined to expose the factory itself as a black box.

Before the factory can be used, it must be initialized via the hnm_DisplayEventFactory_init() function.

NOTE: If the factory isn't initialized before it's used, the default policy for window types will be followed.

Returns:

Nothing.