QGrpcHttp2Channel: update IWYU and favor fwd declarations

The header includes were not up-to-date.

Task-number: QTBUG-123625
Pick-to: 6.8
Change-Id: Id2a3d21925a0bf2ec6c8dfcb44617db3a8d5059c
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
This commit is contained in:
Dennis Oberst 2024-07-30 14:07:28 +02:00
parent a81d51bfa2
commit 14984ad3a7
4 changed files with 15 additions and 6 deletions

View File

@ -5,6 +5,7 @@
#include "simplechatengine.h"
#include <QGrpcHttp2Channel>
#include <QGrpcChannelOptions>
#include <qprotobufregistration.h>

View File

@ -3,10 +3,12 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#include <QtGrpc/private/qtgrpcglobal_p.h>
#include <QtGrpc/qgrpccalloptions.h>
#include <QtGrpc/qgrpcchanneloptions.h>
#include <QtGrpc/qgrpchttp2channel.h>
#include <QtGrpc/qgrpcoperationcontext.h>
#include <QtGrpc/qgrpcserializationformat.h>
#include <QtGrpc/qtgrpcnamespace.h>
#include <QtGrpc/qgrpcstatus.h>
#include <QtProtobuf/qprotobufjsonserializer.h>
#include <QtProtobuf/qprotobufserializer.h>
@ -21,18 +23,18 @@
#endif
#include <QtCore/private/qnoncontiguousbytedevice_p.h>
#include <QtCore/qbytearrayview.h>
#include <QtCore/qalgorithms.h>
#include <QtCore/qbytearray.h>
#include <QtCore/qendian.h>
#include <QtCore/qhash.h>
#include <QtCore/qiodevice.h>
#include <QtCore/qlist.h>
#include <QtCore/qmetaobject.h>
#include <QtCore/qpointer.h>
#include <QtCore/qqueue.h>
#include <QtCore/qtimer.h>
#include <QtCore/qurl.h>
#include <functional>
#include <memory>
#include <optional>
#include <utility>
QT_BEGIN_NAMESPACE

View File

@ -6,12 +6,17 @@
#define QGRPCHTTP2CHANNEL_H
#include <QtGrpc/qabstractgrpcchannel.h>
#include <QtGrpc/qgrpcchanneloptions.h>
#include <QtCore/qtclasshelpermacros.h>
#include <QtCore/qurl.h>
#include <memory>
QT_BEGIN_NAMESPACE
class QAbstractProtobufSerializer;
class QGrpcChannelOptions;
class QGrpcOperationContext;
class QGrpcHttp2ChannelPrivate;
class Q_GRPC_EXPORT QGrpcHttp2Channel final : public QAbstractGrpcChannel

View File

@ -4,6 +4,7 @@
#include <QtGrpc/QGrpcHttp2Channel>
#include <QtGrpc/QGrpcSerializationFormat>
#include <QtGrpc/QGrpcChannelOptions>
#include <QCoreApplication>
#include <QSignalSpy>