mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 20:49:49 +04:00
30 lines
428 B
C
30 lines
428 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "slix.h"
|
||
|
|
|
||
|
|
#include <nfc/nfc_poller.h>
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
extern "C" {
|
||
|
|
#endif
|
||
|
|
|
||
|
|
typedef struct SlixPoller SlixPoller;
|
||
|
|
|
||
|
|
typedef enum {
|
||
|
|
SlixPollerEventTypeError,
|
||
|
|
SlixPollerEventTypeReady,
|
||
|
|
} SlixPollerEventType;
|
||
|
|
|
||
|
|
typedef struct {
|
||
|
|
SlixError error;
|
||
|
|
} SlixPollerEventData;
|
||
|
|
|
||
|
|
typedef struct {
|
||
|
|
SlixPollerEventType type;
|
||
|
|
SlixPollerEventData* data;
|
||
|
|
} SlixPollerEvent;
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
}
|
||
|
|
#endif
|