Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qwlhwintegration_p.h
Go to the documentation of this file.
1// Copyright (C) 2020 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3// Qt-Security score:critical reason:network-protocol
4
5#ifndef QWLHWINTEGRATION_P_H
6#define QWLHWINTEGRATION_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtWaylandCompositor/private/qwayland-server-hardware-integration.h>
20
21#include <QtWaylandCompositor/QWaylandCompositorExtension>
22
23#include <QtCore/QString>
24#include <QtCore/private/qglobal_p.h>
25
26QT_BEGIN_NAMESPACE
27
28class QWaylandCompositor;
29
30namespace QtWayland {
31
33{
34public:
35 HardwareIntegration(QWaylandCompositor *compositor);
36
37 void setClientBufferIntegrationName(const QString &name);
38 void setServerBufferIntegrationName(const QString &name);
39
40protected:
41 void hardware_integration_bind_resource(Resource *resource) override;
42
43private:
44 QString m_client_buffer_integration_name;
45 QString m_server_buffer_integration_name;
46};
47
48}
49
50QT_END_NAMESPACE
51#endif
void setServerBufferIntegrationName(const QString &name)
HardwareIntegration(QWaylandCompositor *compositor)
void hardware_integration_bind_resource(Resource *resource) override
void setClientBufferIntegrationName(const QString &name)
Combined button and popup list for selecting options.