| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
#ifndef QWAYLANDHARDWAREINTEGRATION_H |
| 6 |
#define QWAYLANDHARDWAREINTEGRATION_H |
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 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 |