Debian Codegraph @

src/plugins/platforms/wayland/hardwareintegration/qwaylandhardwareintegration_p.h

raw
1 // Copyright (C) 2016 The Qt Company Ltd.
2 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4 #ifndef QWAYLANDHARDWAREINTEGRATION_H
5 #define QWAYLANDHARDWAREINTEGRATION_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 purely as an
12 // implementation detail. 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 <QtWaylandClient/private/qwayland-hardware-integration.h>
19 #include <QtWaylandClient/qtwaylandclientglobal.h>
20 #include <QtCore/private/qglobal_p.h>
21
22 QT_BEGIN_NAMESPACE
23
24 namespace QtWaylandClient {
25
26 class QWaylandDisplay;
27
28 class Q_WAYLANDCLIENT_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