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) 2025 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 *
6 * https://opensource.org/licenses/MIT. *
7 * *
8 * SPDX-License-Identifier: MIT *
9 ******************************************************************************/
10
11#pragma once
12
13#include <string>
14
15namespace keypop {
16namespace reader {
17
24public:
28 virtual ~CardReader() = default;
29
36 virtual const std::string& getName() const = 0;
37
47 virtual bool isContactless() = 0;
48
57 virtual bool isCardPresent() = 0;
58};
59
60} /* namespace reader */
61} /* namespace keypop */
virtual const std::string & getName() const =0
virtual bool isCardPresent()=0
virtual bool isContactless()=0
virtual ~CardReader()=default