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
5#ifndef QCOAPGLOBAL_H
6#define QCOAPGLOBAL_H
7
8#include <QtCore/qglobal.h>
9#include <QtCore/qobject.h>
10#include <QtCoap/qtcoapexports.h>
11
12QT_BEGIN_NAMESPACE
13
14typedef QByteArray QCoapToken;
15typedef quint16 QCoapMessageId;
16
17QT_END_NAMESPACE
18
19Q_DECLARE_METATYPE(QCoapToken)
20Q_DECLARE_METATYPE(QCoapMessageId)
21
22#endif // QCOAPGLOBAL_H
23

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