Debian Codegraph @

wayland/qtwayland-dev/5.11.3/QtWaylandClient/private/qwaylandhardwareintegration_p.h

raw symbols SCIP
1 // Copyright (C) 2016 The Qt Company Ltd.
2 //
3 // SPDX-License-Identifier: LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
5 #ifndef QWAYLANDHARDWAREINTEGRATION_H
6 #define QWAYLANDHARDWAREINTEGRATION_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 <QtWaylandClient/private/qwayland-hardware-integration.h>
20 #include <QtWaylandClient/qtwaylandclientglobal.h>
21
22 QT_BEGIN_NAMESPACE
23
24 namespace QtWaylandClient {
25
26 class QWaylandDisplay;
27
28 class Q_WAYLAND_CLIENT_EXPORT QWaylandHardwareIntegration : public QtWayland::qt_hardware_integration
29 {
30 public:
31 QWaylandHardwareIntegration(struct ::wl_registry *registry, int id);
32
33 QString clientBufferIntegration();
34 QString serverBufferIntegration();
35
36 protected:
37 void hardware_integration_client_backend(const QString &name) override;
38 void hardware_integration_server_backend(const QString &name) override;
39
40 private:
41 QString m_client_buffer;
42 QString m_server_buffer;
43 };
44
45 }
46
47 QT_END_NAMESPACE
48
49 #endif