Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qnearfieldmanager_pcsc_p.h
Go to the documentation of this file.
1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QNEARFIELDMANAGER_PCSC_P_H
5#define QNEARFIELDMANAGER_PCSC_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
19
21
22class QPcscManager;
23class QPcscCard;
24class QThread;
25
27{
29public:
32
33 bool isEnabled() const override;
34 bool isSupported(QNearFieldTarget::AccessMethod accessMethod) const override;
35
36 bool startTargetDetection(QNearFieldTarget::AccessMethod accessMethod) override;
37 void stopTargetDetection(const QString &errorMessage) override;
38
39public Q_SLOTS:
42 void onTargetLost(QNearFieldTargetPrivate *target);
43
47
48private:
49 QThread *m_workerThread;
50 QPcscManager *m_worker;
51};
52
53QT_END_NAMESPACE
54
55#endif // QNEARFIELDMANAGER_PCSC_P_H
bool isSupported(QNearFieldTarget::AccessMethod accessMethod) const override
bool startTargetDetection(QNearFieldTarget::AccessMethod accessMethod) override
void stopTargetDetection(const QString &errorMessage) override
void onTargetLost(QNearFieldTargetPrivate *target)
void targetLost(QNearFieldTargetPrivate *target)
void onNdefMessageRead(const QNdefMessage &message)
void ndefMessageRead(const QNdefMessage &message)
void invalidated()
Q_LOGGING_CATEGORY(lcEventDispatcher, "qt.eventdispatcher")