Add has_started_session() in NFC EEPROM driver delegate

pull/7822/head
Donatien Garnier 2018-08-03 18:39:18 +01:00
parent 1d61ab686e
commit 0e9e2fdbed
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ namespace nfc {
NFCEEPROMDriver(); NFCEEPROMDriver();
struct Delegate { struct Delegate {
virtual void has_started_session(bool success) = 0;
virtual void has_read_bytes(bool success, const uint8_t* bytes) = 0; virtual void has_read_bytes(bool success, const uint8_t* bytes) = 0;
virtual void has_written_bytes(bool success) = 0; virtual void has_written_bytes(bool success) = 0;
virtual void has_set_size(bool success) = 0; virtual void has_set_size(bool success) = 0;