Keypop Reader C++ API 2.0.0
Reference Reader API for C++
CardReader.hpp
Go to the documentation of this file.
1/**************************************************************************************************
2 * Copyright (c) 2024 Calypso Networks Association https://calypsonet.org/ *
3 * *
4 * This program and the accompanying materials are made available under the *
5 * terms of the MIT License which is available at https://opensource.org/licenses/MIT. *
6 * *
7 * SPDX-License-Identifier: MIT *
8 **************************************************************************************************/
9
10#pragma once
11
12#include <string>
13
14namespace keypop {
15namespace reader {
16
23public:
27 virtual ~CardReader() = default;
28
35 virtual const std::string& getName() const = 0;
36
46 virtual bool isContactless() = 0;
47
55 virtual bool isCardPresent() = 0;
56};
57
58} /* namespace reader */
59} /* namespace keypop */
virtual const std::string & getName() const =0
virtual bool isCardPresent()=0
virtual bool isContactless()=0
virtual ~CardReader()=default