1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QABSTRACTGRPCCHANNEL_P_H
5#define QABSTRACTGRPCCHANNEL_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists for the convenience
12// of other Qt classes. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtGrpc/qgrpcchanneloptions.h>
19
20#include <QtCore/qnamespace.h>
21#include <QtCore/qthread.h>
22
23QT_BEGIN_NAMESPACE
24
25class QAbstractGrpcChannelPrivate
26{
27public:
28 explicit QAbstractGrpcChannelPrivate(const QGrpcChannelOptions &options)
29 : threadId(QThread::currentThreadId()), channelOptions(options)
30 {
31 }
32 const Qt::HANDLE threadId;
33 QGrpcChannelOptions channelOptions;
34};
35
36QT_END_NAMESPACE
37
38#endif // QABSTRACTGRPCCHANNEL_P_H
39

source code of qtgrpc/src/grpc/qabstractgrpcchannel_p.h