|
ZEReader 0.1.0
A Zephyr-based E-Book-Reader
|
Data Structures | |
| struct | app_event_t |
| Represents an application event. More... | |
Enumerations | |
| enum | application_event_t { APP_EVENT_NONE , APP_EVENT_EPUB_INIT , APP_EVENT_RESTORE_BOOK , APP_EVENT_BOOK_SELECTED , APP_EVENT_PREV_CHAPTER , APP_EVENT_NEXT_CHAPTER , APP_EVENT_PREV_PAGE , APP_EVENT_NEXT_PAGE , APP_EVENT_SHOW_BOOKMENU , APP_EVENT_SAVE_STATE , APP_EVENT_SHUTDOWN } |
| Represents possible events within the ZEReader application. More... | |
Functions | |
| void | app_post_event (const app_event_t *event) |
| Post an application event. | |
| void | app_events_init (void) |
| Initialize the application event system. | |
| enum application_event_t |
Represents possible events within the ZEReader application.
| void app_events_init | ( | void | ) |
Initialize the application event system.
The event thread is started automatically by a K_THREAD_DEFINE. The app_events_init function is for logging purposes only.
| void app_post_event | ( | const app_event_t * | event | ) |
Post an application event.
| event | The event to post. |