Changeset View
Changeset View
Standalone View
Standalone View
wayland_server.h
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | |||||
55 | class PlasmaShellInterface; | 55 | class PlasmaShellInterface; | ||
56 | class PlasmaShellSurfaceInterface; | 56 | class PlasmaShellSurfaceInterface; | ||
57 | class PlasmaWindowManagementInterface; | 57 | class PlasmaWindowManagementInterface; | ||
58 | class QtSurfaceExtensionInterface; | 58 | class QtSurfaceExtensionInterface; | ||
59 | class OutputManagementInterface; | 59 | class OutputManagementInterface; | ||
60 | class OutputConfigurationInterface; | 60 | class OutputConfigurationInterface; | ||
61 | class XdgShellInterface; | 61 | class XdgShellInterface; | ||
62 | class XdgForeignInterface; | 62 | class XdgForeignInterface; | ||
63 | class XdgOutputManagerInterface; | ||||
63 | } | 64 | } | ||
64 | } | 65 | } | ||
65 | 66 | | |||
66 | namespace KWin | 67 | namespace KWin | ||
67 | { | 68 | { | ||
68 | class ShellClient; | 69 | class ShellClient; | ||
69 | 70 | | |||
70 | class AbstractClient; | 71 | class AbstractClient; | ||
Show All 28 Lines | 99 | KWayland::Server::ShellInterface *shell() { | |||
99 | return m_shell; | 100 | return m_shell; | ||
100 | } | 101 | } | ||
101 | KWayland::Server::PlasmaWindowManagementInterface *windowManagement() { | 102 | KWayland::Server::PlasmaWindowManagementInterface *windowManagement() { | ||
102 | return m_windowManagement; | 103 | return m_windowManagement; | ||
103 | } | 104 | } | ||
104 | KWayland::Server::ServerSideDecorationManagerInterface *decorationManager() const { | 105 | KWayland::Server::ServerSideDecorationManagerInterface *decorationManager() const { | ||
105 | return m_decorationManager; | 106 | return m_decorationManager; | ||
106 | } | 107 | } | ||
108 | KWayland::Server::XdgOutputManagerInterface *xdgOutputManager() const { | ||||
109 | return m_xdgOutputManager; | ||||
110 | } | ||||
111 | | ||||
107 | QList<ShellClient*> clients() const { | 112 | QList<ShellClient*> clients() const { | ||
108 | return m_clients; | 113 | return m_clients; | ||
109 | } | 114 | } | ||
110 | QList<ShellClient*> internalClients() const { | 115 | QList<ShellClient*> internalClients() const { | ||
111 | return m_internalClients; | 116 | return m_internalClients; | ||
112 | } | 117 | } | ||
113 | void removeClient(ShellClient *c); | 118 | void removeClient(ShellClient *c); | ||
114 | ShellClient *findClient(quint32 id) const; | 119 | ShellClient *findClient(quint32 id) const; | ||
▲ Show 20 Lines • Show All 107 Lines • ▼ Show 20 Line(s) | 210 | private: | |||
222 | KWayland::Server::PlasmaShellInterface *m_plasmaShell = nullptr; | 227 | KWayland::Server::PlasmaShellInterface *m_plasmaShell = nullptr; | ||
223 | KWayland::Server::PlasmaWindowManagementInterface *m_windowManagement = nullptr; | 228 | KWayland::Server::PlasmaWindowManagementInterface *m_windowManagement = nullptr; | ||
224 | KWayland::Server::QtSurfaceExtensionInterface *m_qtExtendedSurface = nullptr; | 229 | KWayland::Server::QtSurfaceExtensionInterface *m_qtExtendedSurface = nullptr; | ||
225 | KWayland::Server::ServerSideDecorationManagerInterface *m_decorationManager = nullptr; | 230 | KWayland::Server::ServerSideDecorationManagerInterface *m_decorationManager = nullptr; | ||
226 | KWayland::Server::OutputManagementInterface *m_outputManagement = nullptr; | 231 | KWayland::Server::OutputManagementInterface *m_outputManagement = nullptr; | ||
227 | KWayland::Server::AppMenuManagerInterface *m_appMenuManager = nullptr; | 232 | KWayland::Server::AppMenuManagerInterface *m_appMenuManager = nullptr; | ||
228 | KWayland::Server::ServerSideDecorationPaletteManagerInterface *m_paletteManager = nullptr; | 233 | KWayland::Server::ServerSideDecorationPaletteManagerInterface *m_paletteManager = nullptr; | ||
229 | KWayland::Server::IdleInterface *m_idle = nullptr; | 234 | KWayland::Server::IdleInterface *m_idle = nullptr; | ||
235 | KWayland::Server::XdgOutputManagerInterface *m_xdgOutputManager = nullptr; | ||||
230 | struct { | 236 | struct { | ||
231 | KWayland::Server::ClientConnection *client = nullptr; | 237 | KWayland::Server::ClientConnection *client = nullptr; | ||
232 | QMetaObject::Connection destroyConnection; | 238 | QMetaObject::Connection destroyConnection; | ||
233 | } m_xwayland; | 239 | } m_xwayland; | ||
234 | KWayland::Server::ClientConnection *m_inputMethodServerConnection = nullptr; | 240 | KWayland::Server::ClientConnection *m_inputMethodServerConnection = nullptr; | ||
235 | KWayland::Server::ClientConnection *m_screenLockerClientConnection = nullptr; | 241 | KWayland::Server::ClientConnection *m_screenLockerClientConnection = nullptr; | ||
236 | struct { | 242 | struct { | ||
237 | KWayland::Server::ClientConnection *server = nullptr; | 243 | KWayland::Server::ClientConnection *server = nullptr; | ||
Show All 30 Lines |