0f6f9ad52e
* LF RFID: port to plain C * LFRFID debug port to C, new reading screen * LFRFID debug: fix pvs-studio warnings * RFID read view: remove unused input callback * RFID read view: animation update
20 lines
453 B
C
20 lines
453 B
C
#pragma once
|
|
#include <gui/view.h>
|
|
|
|
typedef enum {
|
|
LfRfidReadAsk,
|
|
LfRfidReadPsk,
|
|
LfRfidReadAskOnly,
|
|
LfRfidReadPskOnly
|
|
} LfRfidReadViewMode;
|
|
|
|
typedef struct LfRfidReadView LfRfidReadView;
|
|
|
|
LfRfidReadView* lfrfid_view_read_alloc();
|
|
|
|
void lfrfid_view_read_free(LfRfidReadView* read_view);
|
|
|
|
View* lfrfid_view_read_get_view(LfRfidReadView* read_view);
|
|
|
|
void lfrfid_view_read_set_read_mode(LfRfidReadView* read_view, LfRfidReadViewMode mode);
|