ZEReader 0.1.0
A Zephyr-based E-Book-Reader
Loading...
Searching...
No Matches
event_handler.h File Reference

The ZEReader Event Handler. More...

#include <stdint.h>
#include <zephyr/drivers/gpio.h>
#include <ui/context/context.h>

Go to the source code of this file.

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.

Detailed Description

The ZEReader Event Handler.