ZEReader 0.1.0
A Zephyr-based E-Book-Reader
Loading...
Searching...
No Matches

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

Detailed Description

Represents an application event.

Field Documentation

◆ [struct]

struct { ... } app_event_t::book_selected

Transports the ID of a book selected.

◆ [struct]

struct { ... } app_event_t::context

Transports a state context.

◆ [union]

union { ... } app_event_t::data

The event data (optional fields).

◆ [struct]

struct { ... } app_event_t::save_state

Transports the current scroll position for saving the reading state.

◆ [struct]

struct { ... } app_event_t::shutdown

Transports a GPIO for shutting down the device.

◆ type

application_event_t app_event_t::type

The event type.


The documentation for this struct was generated from the following file: