1// Copyright (C) 2016 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 QNDEFRECORD_P_H
5#define QNDEFRECORD_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
18#include "qtnfcglobal.h"
19
20#include <QtCore/QSharedData>
21#include <QtCore/QByteArray>
22
23QT_BEGIN_NAMESPACE
24
25class QNdefRecordPrivate : public QSharedData
26{
27public:
28 QNdefRecordPrivate() : QSharedData()
29 {
30 typeNameFormat = 0; //TypeNameFormat::Empty
31 }
32
33 unsigned int typeNameFormat : 3;
34
35 QByteArray type;
36 QByteArray id;
37 QByteArray payload;
38};
39
40QT_END_NAMESPACE
41
42#endif // QNDEFRECORD_P_H
43

source code of qtconnectivity/src/nfc/qndefrecord_p.h