#pragma once #include #include "../nfc_worker.h" #include typedef enum { NfcSupportedCardTypeTroyka, NfcSupportedCardTypeEnd, } NfcSupportedCardType; typedef bool (*NfcSupportedCardVerify)(NfcWorker* nfc_worker, FuriHalNfcTxRxContext* tx_rx); typedef bool (*NfcSupportedCardRead)(NfcWorker* nfc_worker, FuriHalNfcTxRxContext* tx_rx); typedef bool (*NfcSupportedCardParse)(NfcWorker* nfc_worker); typedef struct { NfcProtocol protocol; NfcSupportedCardVerify verify; NfcSupportedCardRead read; NfcSupportedCardParse parse; } NfcSupportedCard; extern NfcSupportedCard nfc_supported_card[NfcSupportedCardTypeEnd];