#pragma once #include "felica.h" #include #include #ifdef __cplusplus extern "C" { #endif typedef struct FelicaPoller FelicaPoller; typedef enum { FelicaPollerEventTypeError, FelicaPollerEventTypeReady, } FelicaPollerEventType; typedef struct { FelicaError error; } FelicaPollerEventData; typedef struct { FelicaPollerEventType type; FelicaPollerEventData* data; } FelicaPollerEvent; #ifdef __cplusplus } #endif