| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
#ifndef QWAYLANDWLSHELLINTEGRATION_P_H |
| 6 |
#define QWAYLANDWLSHELLINTEGRATION_P_H |
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
#include <wayland-client.h> |
| 20 |
#include <private/qwayland-wayland.h> |
| 21 |
|
| 22 |
#include <QtWaylandClient/private/qwaylandshellintegration_p.h> |
| 23 |
|
| 24 |
QT_BEGIN_NAMESPACE |
| 25 |
|
| 26 |
namespace QtWaylandClient { |
| 27 |
|
| 28 |
class Q_WAYLAND_CLIENT_EXPORT QWaylandWlShellIntegration : public QWaylandShellIntegration |
| 29 |
{ |
| 30 |
public: |
| 31 |
static QWaylandWlShellIntegration *create(QWaylandDisplay* display); |
| 32 |
bool initialize(QWaylandDisplay *) override; |
| 33 |
QWaylandShellSurface *createShellSurface(QWaylandWindow *window) override; |
| 34 |
|
| 35 |
private: |
| 36 |
QWaylandWlShellIntegration(QWaylandDisplay* display); |
| 37 |
|
| 38 |
QtWayland::wl_shell *m_wlShell = nullptr; |
| 39 |
}; |
| 40 |
|
| 41 |
} |
| 42 |
|
| 43 |
QT_END_NAMESPACE |
| 44 |
|
| 45 |
#endif |