mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
EMV keyfile support: Overall code improvements and bug fixes
This commit is contained in:
27
src/Common/SCard.h
Normal file
27
src/Common/SCard.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef TC_HEADER_Common_SCard
|
||||
#define TC_HEADER_Common_SCard
|
||||
|
||||
#include "Platform/PlatformBase.h"
|
||||
|
||||
#include "SCardManager.h"
|
||||
|
||||
namespace VeraCrypt
|
||||
{
|
||||
class SCard
|
||||
{
|
||||
protected:
|
||||
shared_ptr<SCardReader> m_reader;
|
||||
public:
|
||||
static SCardManager manager;
|
||||
SCard();
|
||||
SCard(size_t slotId);
|
||||
SCard(const SCard& other);
|
||||
SCard(SCard&& other);
|
||||
SCard& operator = (const SCard& other);
|
||||
SCard& operator = (SCard&& other);
|
||||
virtual ~SCard();
|
||||
bool IsCardHandleValid() const;
|
||||
};
|
||||
}
|
||||
|
||||
#endif // TC_HEADER_Common_SCard
|
||||
Reference in New Issue
Block a user