19#include "CalypsoCard.h"
20#include "CalypsoCardSelection.h"
21#include "CalypsoSamSelection.h"
22#include "CardSecuritySetting.h"
23#include "CardTransactionManager.h"
24#include "SearchCommandData.h"
33#include "KeypleCardExtension.h"
36#include "CardResourceProfileExtension.h"
42using namespace calypsonet::terminal::calypso::card;
43using namespace calypsonet::terminal::calypso::sam;
44using namespace calypsonet::terminal::calypso::transaction;
45using namespace keyple::core::common;
46using namespace keyple::core::service::resource::spi;
80 static std::shared_ptr<CalypsoExtensionService> getInstance();
87 const std::string& getReaderApiVersion()
const override;
94 const std::string& getCardApiVersion()
const override;
101 const std::string& getCommonApiVersion()
const override;
110 std::shared_ptr<SearchCommandData> createSearchCommandData()
const;
119 std::shared_ptr<CalypsoCardSelection> createCardSelection()
const;
127 std::shared_ptr<CalypsoSamSelection> createSamSelection()
const;
141 std::shared_ptr<CardResourceProfileExtension> createSamResourceProfileExtension(
142 const std::shared_ptr<CalypsoSamSelection> calypsoSamSelection)
const;
151 std::shared_ptr<CardSecuritySetting> createCardSecuritySetting()
const;
168 std::shared_ptr<CardTransactionManager> createCardTransaction(
169 std::shared_ptr<CardReader> reader,
170 const std::shared_ptr<CalypsoCard> calypsoCard,
171 const std::shared_ptr<CardSecuritySetting> cardSecuritySetting);
183 std::shared_ptr<CardTransactionManager> createCardTransactionWithoutSecurity(
184 std::shared_ptr<CardReader> reader,
const std::shared_ptr<CalypsoCard> calypsoCard);
190 static std::shared_ptr<CalypsoExtensionService> mInstance;
#define KEYPLECARDCALYPSO_API
static const std::string PRODUCT_TYPE