QGrpcCallOptions: rework header usage and make the PIMPL a class

Pick-to: 6.7
Change-Id: Ifc361e2b068ead91f683d38a2add9087365cd670
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
Dennis Oberst 2024-05-07 10:15:03 +02:00
parent fb14a2fe6a
commit baaf342e26
2 changed files with 4 additions and 6 deletions

View File

@ -1,9 +1,8 @@
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#include <qtgrpcglobal_p.h>
#include "qgrpccalloptions.h"
#include <QtGrpc/private/qtgrpcglobal_p.h>
#include <QtGrpc/qgrpccalloptions.h>
QT_BEGIN_NAMESPACE
@ -19,7 +18,7 @@ using namespace Qt::StringLiterals;
that are used by gRPC channels to communicate with the services.
*/
struct QGrpcCallOptionsPrivate
class QGrpcCallOptionsPrivate
{
public:
std::optional<QGrpcDuration> deadline;

View File

@ -4,7 +4,6 @@
#ifndef QGRPCALLOPTIONS_H
#define QGRPCALLOPTIONS_H
#include <QtCore/qurl.h>
#include <QtGrpc/qgrpcdefs.h>
#include <QtGrpc/qtgrpcglobal.h>
@ -13,7 +12,7 @@
QT_BEGIN_NAMESPACE
struct QGrpcCallOptionsPrivate;
class QGrpcCallOptionsPrivate;
class QGrpcCallOptions final
{