Changeset View
Changeset View
Standalone View
Standalone View
wayland_server.h
Show All 39 Lines | |||||
40 | } | 40 | } | ||
41 | namespace Server | 41 | namespace Server | ||
42 | { | 42 | { | ||
43 | class AppMenuManagerInterface; | 43 | class AppMenuManagerInterface; | ||
44 | class ClientConnection; | 44 | class ClientConnection; | ||
45 | class CompositorInterface; | 45 | class CompositorInterface; | ||
46 | class Display; | 46 | class Display; | ||
47 | class DataDeviceInterface; | 47 | class DataDeviceInterface; | ||
48 | class IdleInterface; | ||||
48 | class ShellInterface; | 49 | class ShellInterface; | ||
49 | class SeatInterface; | 50 | class SeatInterface; | ||
50 | class ServerSideDecorationManagerInterface; | 51 | class ServerSideDecorationManagerInterface; | ||
51 | class SurfaceInterface; | 52 | class SurfaceInterface; | ||
52 | class OutputInterface; | 53 | class OutputInterface; | ||
53 | class PlasmaShellInterface; | 54 | class PlasmaShellInterface; | ||
54 | class PlasmaShellSurfaceInterface; | 55 | class PlasmaShellSurfaceInterface; | ||
55 | class PlasmaWindowManagementInterface; | 56 | class PlasmaWindowManagementInterface; | ||
▲ Show 20 Lines • Show All 130 Lines • ▼ Show 20 Line(s) | 180 | struct SocketPairConnection { | |||
186 | **/ | 187 | **/ | ||
187 | int fd = -1; | 188 | int fd = -1; | ||
188 | }; | 189 | }; | ||
189 | /** | 190 | /** | ||
190 | * Creates a Wayland connection using a socket pair. | 191 | * Creates a Wayland connection using a socket pair. | ||
191 | **/ | 192 | **/ | ||
192 | SocketPairConnection createConnection(); | 193 | SocketPairConnection createConnection(); | ||
193 | 194 | | |||
195 | void simulateUserActivity(); | ||||
196 | | ||||
194 | Q_SIGNALS: | 197 | Q_SIGNALS: | ||
195 | void shellClientAdded(KWin::ShellClient*); | 198 | void shellClientAdded(KWin::ShellClient*); | ||
196 | void shellClientRemoved(KWin::ShellClient*); | 199 | void shellClientRemoved(KWin::ShellClient*); | ||
197 | void terminatingInternalClientConnection(); | 200 | void terminatingInternalClientConnection(); | ||
198 | void initialized(); | 201 | void initialized(); | ||
199 | void foreignTransientChanged(KWayland::Server::SurfaceInterface *child); | 202 | void foreignTransientChanged(KWayland::Server::SurfaceInterface *child); | ||
200 | 203 | | |||
201 | private: | 204 | private: | ||
Show All 14 Lines | |||||
216 | KWayland::Server::XdgShellInterface *m_xdgShell = nullptr; | 219 | KWayland::Server::XdgShellInterface *m_xdgShell = nullptr; | ||
217 | KWayland::Server::XdgShellInterface *m_xdgShell6 = nullptr; | 220 | KWayland::Server::XdgShellInterface *m_xdgShell6 = nullptr; | ||
218 | KWayland::Server::PlasmaShellInterface *m_plasmaShell = nullptr; | 221 | KWayland::Server::PlasmaShellInterface *m_plasmaShell = nullptr; | ||
219 | KWayland::Server::PlasmaWindowManagementInterface *m_windowManagement = nullptr; | 222 | KWayland::Server::PlasmaWindowManagementInterface *m_windowManagement = nullptr; | ||
220 | KWayland::Server::QtSurfaceExtensionInterface *m_qtExtendedSurface = nullptr; | 223 | KWayland::Server::QtSurfaceExtensionInterface *m_qtExtendedSurface = nullptr; | ||
221 | KWayland::Server::ServerSideDecorationManagerInterface *m_decorationManager = nullptr; | 224 | KWayland::Server::ServerSideDecorationManagerInterface *m_decorationManager = nullptr; | ||
222 | KWayland::Server::OutputManagementInterface *m_outputManagement = nullptr; | 225 | KWayland::Server::OutputManagementInterface *m_outputManagement = nullptr; | ||
223 | KWayland::Server::AppMenuManagerInterface *m_appMenuManager = nullptr; | 226 | KWayland::Server::AppMenuManagerInterface *m_appMenuManager = nullptr; | ||
227 | KWayland::Server::IdleInterface *m_idle = nullptr; | ||||
224 | struct { | 228 | struct { | ||
225 | KWayland::Server::ClientConnection *client = nullptr; | 229 | KWayland::Server::ClientConnection *client = nullptr; | ||
226 | QMetaObject::Connection destroyConnection; | 230 | QMetaObject::Connection destroyConnection; | ||
227 | } m_xwayland; | 231 | } m_xwayland; | ||
228 | KWayland::Server::ClientConnection *m_inputMethodServerConnection = nullptr; | 232 | KWayland::Server::ClientConnection *m_inputMethodServerConnection = nullptr; | ||
229 | KWayland::Server::ClientConnection *m_screenLockerClientConnection = nullptr; | 233 | KWayland::Server::ClientConnection *m_screenLockerClientConnection = nullptr; | ||
230 | struct { | 234 | struct { | ||
231 | KWayland::Server::ClientConnection *server = nullptr; | 235 | KWayland::Server::ClientConnection *server = nullptr; | ||
Show All 30 Lines |