11#include <QNearFieldTarget>
12#include <QScopedPointer>
25 QScopedPointer<QNearFieldTarget> mNearFieldTarget;
28 explicit NfcCard(QNearFieldTarget* pNearFieldTarget);
30 [[nodiscard]]
bool isValid()
const;
bool isValid() const
Definition: NfcCard.cpp:29
void fireSetProgressMessage(const QString &pMessage)
bool invalidateTarget(const QNearFieldTarget *pNearFieldTarget)
Definition: NfcCard.cpp:35
bool isConnected() const override
Is the smart card connected, i.e.
Definition: NfcCard.cpp:80
CardReturnCode establishConnection() override
Establish a connection to the smart card.
Definition: NfcCard.cpp:47
CardReturnCode releaseConnection() override
Destroys the previously established connection to the smart card.
Definition: NfcCard.cpp:60
void setProgressMessage(const QString &pMessage, int pProgress=-1) override
Sets the current workflow progress message.
Definition: NfcCard.cpp:86
void fireTargetError(QNearFieldTarget::Error pError)
ResponseApduResult transmit(const CommandApdu &pCmd) override
Performs a transmit to the smart card.
Definition: NfcCard.cpp:93
A simple template renderer.
Definition: ActivationContext.h:15
Definition: ResponseApdu.h:115