blob: aaff31716bea5a500a952d0be08ae33ae99eb90d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
// Copyright (C) 2017 Witekio.
// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#ifndef QCOAPRESOURCEDISCOVERYREPLY_H
#define QCOAPRESOURCEDISCOVERYREPLY_H
#include <QtCoap/qcoapreply.h>
#include <QtCoap/qcoapresource.h>
#include <QtCore/qlist.h>
QT_BEGIN_NAMESPACE
class QCoapResourceDiscoveryReplyPrivate;
class Q_COAP_EXPORT QCoapResourceDiscoveryReply : public QCoapReply
{
Q_OBJECT
public:
QList<QCoapResource> resources() const;
Q_SIGNALS:
void discovered(QCoapResourceDiscoveryReply *reply, QList<QCoapResource> resources);
private:
explicit QCoapResourceDiscoveryReply(const QCoapRequest &request, QObject *parent = nullptr);
friend class QCoapClientPrivate;
Q_DECLARE_PRIVATE(QCoapResourceDiscoveryReply)
};
QT_END_NAMESPACE
#endif // QCOAPRESOURCEDISCOVERYREPLY_H
|