VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/SCardManager.h
blob: 94a58cb7d55861bc954039feb9e8d455b92b7e04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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<SCardLoader> loader;
	public:
		SCardManager();
		virtual ~SCardManager();
		static vector<wstring> GetReaders();
		static shared_ptr<SCardReader> GetReader(size_t readerNumber);
	};
};

#endif // TC_HEADER_Common_SCardManager