| 1 | // Copyright (C) 2022 The Qt Company Ltd. |
|---|---|
| 2 | // Copyright (C) 2019 Alexey Edelev <semlanik@gmail.com> |
| 3 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 4 | |
| 5 | #ifndef QGRPCCALLREPLY_H |
| 6 | #define QGRPCCALLREPLY_H |
| 7 | |
| 8 | #include <QtGrpc/qgrpcoperation.h> |
| 9 | #include <QtGrpc/qgrpcoperationcontext.h> |
| 10 | #include <QtGrpc/qgrpcstatus.h> |
| 11 | #include <QtGrpc/qtgrpcglobal.h> |
| 12 | |
| 13 | #include <QtCore/qobject.h> |
| 14 | |
| 15 | #include <memory> |
| 16 | |
| 17 | QT_BEGIN_NAMESPACE |
| 18 | |
| 19 | class Q_GRPC_EXPORT QGrpcCallReply final : public QGrpcOperation |
| 20 | { |
| 21 | Q_OBJECT |
| 22 | |
| 23 | public: |
| 24 | explicit QGrpcCallReply(std::shared_ptr<QGrpcOperationContext> operationContext); |
| 25 | ~QGrpcCallReply() override; |
| 26 | |
| 27 | private: |
| 28 | Q_DISABLE_COPY_MOVE(QGrpcCallReply) |
| 29 | |
| 30 | public: |
| 31 | bool event(QEvent *event) override; |
| 32 | }; |
| 33 | |
| 34 | QT_END_NAMESPACE |
| 35 | |
| 36 | #endif // QGRPCCALLREPLY_H |
| 37 |
