7#ifndef _EVENT_HANDLER_H_
8#define _EVENT_HANDLER_H_
11#include <zephyr/drivers/gpio.h>
100 const struct gpio_dt_spec *pin;
void app_events_init(void)
Initialize the application event system.
void app_post_event(const app_event_t *event)
Post an application event.
application_event_t
Represents possible events within the ZEReader application.
Definition event_handler.h:25
@ APP_EVENT_NONE
Definition event_handler.h:29
@ APP_EVENT_SAVE_STATE
Definition event_handler.h:65
@ APP_EVENT_EPUB_INIT
Definition event_handler.h:33
@ APP_EVENT_RESTORE_BOOK
Definition event_handler.h:37
@ APP_EVENT_SHOW_BOOKMENU
Definition event_handler.h:61
@ APP_EVENT_NEXT_PAGE
Definition event_handler.h:57
@ APP_EVENT_SHUTDOWN
Definition event_handler.h:69
@ APP_EVENT_PREV_CHAPTER
Definition event_handler.h:45
@ APP_EVENT_NEXT_CHAPTER
Definition event_handler.h:49
@ APP_EVENT_BOOK_SELECTED
Definition event_handler.h:41
@ APP_EVENT_PREV_PAGE
Definition event_handler.h:53
context_t
UI context definition.
Definition context.h:22
Represents an application event.
Definition event_handler.h:75
application_event_t type
Definition event_handler.h:79