Keypop Reader C++ API 2.0.0
Reference Reader API for C++
CardSelectionResult.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 <map>
14#include <memory>
15
17
18namespace keypop {
19namespace reader {
20namespace selection {
21
23
37public:
46 virtual const std::map<int, std::shared_ptr<SmartCard>>&
47 getSmartCards() const = 0;
48
55 virtual std::shared_ptr<SmartCard> getActiveSmartCard() const = 0;
56
64 virtual int getActiveSelectionIndex() const = 0;
65};
66
67} /* namespace selection */
68} /* namespace reader */
69} /* namespace keypop */
virtual std::shared_ptr< SmartCard > getActiveSmartCard() const =0
virtual const std::map< int, std::shared_ptr< SmartCard > > & getSmartCards() const =0