1// Copyright (C) 2017 Witekio.
2// Copyright (C) 2018 The Qt Company Ltd.
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
4// Qt-Security score:significant reason:default
5
6#ifndef QCOAPOPTION_P_H
7#define QCOAPOPTION_P_H
8
9#include <QtCoap/qcoapoption.h>
10#include <private/qobject_p.h>
11
12//
13// W A R N I N G
14// -------------
15//
16// This file is not part of the Qt API. It exists purely as an
17// implementation detail. This header file may change from version to
18// version without notice, or even be removed.
19//
20// We mean it.
21//
22
23QT_BEGIN_NAMESPACE
24
25class Q_AUTOTEST_EXPORT QCoapOptionPrivate
26{
27public:
28 QCoapOptionPrivate() = default;
29
30 void setValue(const QByteArray &opaqueValue);
31 void setValue(const QString &value);
32 void setValue(quint32 value);
33
34 QCoapOption::OptionName name = QCoapOption::Invalid;
35 QByteArray value;
36};
37
38QT_END_NAMESPACE
39
40#endif // QCOAPOPTION_P_H
41

source code of qtcoap/src/coap/qcoapoption_p.h