|
ZEReader 0.1.0
A Zephyr-based E-Book-Reader
|
Represents an application event. More...
#include <event_handler.h>
Data Fields | |
| application_event_t | type |
| union { | |
| struct { | |
| } book_selected | |
| struct { | |
| } context | |
| struct { | |
| } shutdown | |
| struct { | |
| } save_state | |
| } | data |
Represents an application event.
| struct { ... } app_event_t::book_selected |
Transports the ID of a book selected.
| struct { ... } app_event_t::context |
Transports a state context.
| union { ... } app_event_t::data |
The event data (optional fields).
| struct { ... } app_event_t::save_state |
Transports the current scroll position for saving the reading state.
| struct { ... } app_event_t::shutdown |
Transports a GPIO for shutting down the device.
| application_event_t app_event_t::type |
The event type.