Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/kwin_wayland_test.h
Show All 40 Lines | |||||
41 | class PointerConstraints; | 41 | class PointerConstraints; | ||
42 | class Seat; | 42 | class Seat; | ||
43 | class ServerSideDecorationManager; | 43 | class ServerSideDecorationManager; | ||
44 | class ShadowManager; | 44 | class ShadowManager; | ||
45 | class Shell; | 45 | class Shell; | ||
46 | class ShellSurface; | 46 | class ShellSurface; | ||
47 | class ShmPool; | 47 | class ShmPool; | ||
48 | class Surface; | 48 | class Surface; | ||
49 | class XdgDecorationManager; | ||||
49 | } | 50 | } | ||
50 | } | 51 | } | ||
51 | 52 | | |||
52 | namespace KWin | 53 | namespace KWin | ||
53 | { | 54 | { | ||
54 | 55 | | |||
55 | class AbstractClient; | 56 | class AbstractClient; | ||
56 | class ShellClient; | 57 | class ShellClient; | ||
Show All 27 Lines | |||||
84 | enum class AdditionalWaylandInterface { | 85 | enum class AdditionalWaylandInterface { | ||
85 | Seat = 1 << 0, | 86 | Seat = 1 << 0, | ||
86 | Decoration = 1 << 1, | 87 | Decoration = 1 << 1, | ||
87 | PlasmaShell = 1 << 2, | 88 | PlasmaShell = 1 << 2, | ||
88 | WindowManagement = 1 << 3, | 89 | WindowManagement = 1 << 3, | ||
89 | PointerConstraints = 1 << 4, | 90 | PointerConstraints = 1 << 4, | ||
90 | IdleInhibition = 1 << 5, | 91 | IdleInhibition = 1 << 5, | ||
91 | AppMenu = 1 << 6, | 92 | AppMenu = 1 << 6, | ||
92 | ShadowManager = 1 << 7 | 93 | ShadowManager = 1 << 7, | ||
94 | XdgDecoration = 1 << 8, | ||||
93 | }; | 95 | }; | ||
94 | Q_DECLARE_FLAGS(AdditionalWaylandInterfaces, AdditionalWaylandInterface) | 96 | Q_DECLARE_FLAGS(AdditionalWaylandInterfaces, AdditionalWaylandInterface) | ||
95 | /** | 97 | /** | ||
96 | * Creates a Wayland Connection in a dedicated thread and creates various | 98 | * Creates a Wayland Connection in a dedicated thread and creates various | ||
97 | * client side objects which can be used to create windows. | 99 | * client side objects which can be used to create windows. | ||
98 | * @returns @c true if created successfully, @c false if there was an error | 100 | * @returns @c true if created successfully, @c false if there was an error | ||
99 | * @see destroyWaylandConnection | 101 | * @see destroyWaylandConnection | ||
100 | **/ | 102 | **/ | ||
Show All 14 Lines | |||||
115 | KWayland::Client::ShmPool *waylandShmPool(); | 117 | KWayland::Client::ShmPool *waylandShmPool(); | ||
116 | KWayland::Client::Seat *waylandSeat(); | 118 | KWayland::Client::Seat *waylandSeat(); | ||
117 | KWayland::Client::ServerSideDecorationManager *waylandServerSideDecoration(); | 119 | KWayland::Client::ServerSideDecorationManager *waylandServerSideDecoration(); | ||
118 | KWayland::Client::PlasmaShell *waylandPlasmaShell(); | 120 | KWayland::Client::PlasmaShell *waylandPlasmaShell(); | ||
119 | KWayland::Client::PlasmaWindowManagement *waylandWindowManagement(); | 121 | KWayland::Client::PlasmaWindowManagement *waylandWindowManagement(); | ||
120 | KWayland::Client::PointerConstraints *waylandPointerConstraints(); | 122 | KWayland::Client::PointerConstraints *waylandPointerConstraints(); | ||
121 | KWayland::Client::IdleInhibitManager *waylandIdleInhibitManager(); | 123 | KWayland::Client::IdleInhibitManager *waylandIdleInhibitManager(); | ||
122 | KWayland::Client::AppMenuManager *waylandAppMenuManager(); | 124 | KWayland::Client::AppMenuManager *waylandAppMenuManager(); | ||
123 | 125 | KWayland::Client::XdgDecorationManager *xdgDecorationManager(); | |||
124 | 126 | | |||
125 | bool waitForWaylandPointer(); | 127 | bool waitForWaylandPointer(); | ||
126 | bool waitForWaylandTouch(); | 128 | bool waitForWaylandTouch(); | ||
127 | bool waitForWaylandKeyboard(); | 129 | bool waitForWaylandKeyboard(); | ||
128 | 130 | | |||
129 | void flushWaylandConnection(); | 131 | void flushWaylandConnection(); | ||
130 | 132 | | |||
131 | KWayland::Client::Surface *createSurface(QObject *parent = nullptr); | 133 | KWayland::Client::Surface *createSurface(QObject *parent = nullptr); | ||
▲ Show 20 Lines • Show All 82 Lines • Show Last 20 Lines |