Changeset View
Changeset View
Standalone View
Standalone View
src/server/display.h
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Line(s) | |||||
85 | enum class PointerConstraintsInterfaceVersion; | 85 | enum class PointerConstraintsInterfaceVersion; | ||
86 | class PointerConstraintsInterface; | 86 | class PointerConstraintsInterface; | ||
87 | class XdgForeignInterface; | 87 | class XdgForeignInterface; | ||
88 | class AppMenuManagerInterface; | 88 | class AppMenuManagerInterface; | ||
89 | class ServerSideDecorationPaletteManagerInterface; | 89 | class ServerSideDecorationPaletteManagerInterface; | ||
90 | class PlasmaVirtualDesktopManagementInterface; | 90 | class PlasmaVirtualDesktopManagementInterface; | ||
91 | class XdgOutputManagerInterface; | 91 | class XdgOutputManagerInterface; | ||
92 | class XdgDecorationManagerInterface; | 92 | class XdgDecorationManagerInterface; | ||
93 | class EglStreamControllerInterface; | ||||
93 | 94 | | |||
94 | /** | 95 | /** | ||
95 | * @brief Class holding the Wayland server display loop. | 96 | * @brief Class holding the Wayland server display loop. | ||
96 | * | 97 | * | ||
97 | * @todo Improve documentation | 98 | * @todo Improve documentation | ||
98 | **/ | 99 | **/ | ||
99 | class KWAYLANDSERVER_EXPORT Display : public QObject | 100 | class KWAYLANDSERVER_EXPORT Display : public QObject | ||
100 | { | 101 | { | ||
▲ Show 20 Lines • Show All 197 Lines • ▼ Show 20 Line(s) | 106 | public: | |||
298 | * @arg shellInterface A created XdgShellInterface based on XDG_WM_BASE | 299 | * @arg shellInterface A created XdgShellInterface based on XDG_WM_BASE | ||
299 | * | 300 | * | ||
300 | * @return the created manager | 301 | * @return the created manager | ||
301 | * @since 5.54 | 302 | * @since 5.54 | ||
302 | */ | 303 | */ | ||
303 | XdgDecorationManagerInterface *createXdgDecorationManager(XdgShellInterface *shellInterface, QObject *parent = nullptr); | 304 | XdgDecorationManagerInterface *createXdgDecorationManager(XdgShellInterface *shellInterface, QObject *parent = nullptr); | ||
304 | 305 | | |||
305 | /** | 306 | /** | ||
307 | * Creates the EglStreamControllerInterface | ||||
308 | * | ||||
309 | * @return the created EGL Stream controller | ||||
310 | * @since 5.56 | ||||
romangg: 5.56 | |||||
romangg: Now it would be 5.58 (change it when pushing). | |||||
311 | */ | ||||
312 | EglStreamControllerInterface *createEglStreamControllerInterface(QObject *parent = nullptr); | ||||
313 | | ||||
314 | /** | ||||
306 | * Gets the ClientConnection for the given @p client. | 315 | * Gets the ClientConnection for the given @p client. | ||
307 | * If there is no ClientConnection yet for the given @p client, it will be created. | 316 | * If there is no ClientConnection yet for the given @p client, it will be created. | ||
308 | * @param client The native client for which the ClientConnection is retrieved | 317 | * @param client The native client for which the ClientConnection is retrieved | ||
309 | * @return The ClientConnection for the given native client | 318 | * @return The ClientConnection for the given native client | ||
310 | **/ | 319 | **/ | ||
311 | ClientConnection *getConnection(wl_client *client); | 320 | ClientConnection *getConnection(wl_client *client); | ||
312 | QVector<ClientConnection*> connections() const; | 321 | QVector<ClientConnection*> connections() const; | ||
313 | 322 | | |||
Show All 34 Lines |
5.56