You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
332 B
15 lines
332 B
#pragma once
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
#include "app_event.h"
|
|
|
|
|
|
typedef void (*app_event_listener_t)(void* p_event_data, uint16_t event_size);
|
|
|
|
typedef struct {
|
|
app_event_listener_t cbfunc;
|
|
} AppEventListener;
|
|
|
|
void AppEvent_regListener(app_event_listener_t listener);
|
|
void AppEvent_pushEvent(app_event_t* event);
|