From 034b64f4153550cbe5849bcbfc27e187377cc512 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Thu, 29 Jun 2023 00:06:20 +0200 Subject: EMV keyfile support: Overall code improvements and bug fixes --- src/Common/SCardManager.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/Common/SCardManager.h (limited to 'src/Common/SCardManager.h') diff --git a/src/Common/SCardManager.h b/src/Common/SCardManager.h new file mode 100644 index 00000000..94a58cb7 --- /dev/null +++ b/src/Common/SCardManager.h @@ -0,0 +1,21 @@ +#ifndef TC_HEADER_Common_SCardManager +#define TC_HEADER_Common_SCardManager + +#include "Platform/PlatformBase.h" +#include "SCardReader.h" + +namespace VeraCrypt +{ + class SCardManager + { + protected: + static shared_ptr loader; + public: + SCardManager(); + virtual ~SCardManager(); + static vector GetReaders(); + static shared_ptr GetReader(size_t readerNumber); + }; +}; + +#endif // TC_HEADER_Common_SCardManager \ No newline at end of file -- cgit v1.2.3