Changeset View
Changeset View
Standalone View
Standalone View
src/server/display.h
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Line(s) | |||||
73 | class TextInputManagerInterface; | 73 | class TextInputManagerInterface; | ||
74 | class XdgShellV5Interface; | 74 | class XdgShellV5Interface; | ||
75 | enum class XdgShellInterfaceVersion; | 75 | enum class XdgShellInterfaceVersion; | ||
76 | class XdgShellInterface; | 76 | class XdgShellInterface; | ||
77 | enum class RelativePointerInterfaceVersion; | 77 | enum class RelativePointerInterfaceVersion; | ||
78 | class RelativePointerManagerInterface; | 78 | class RelativePointerManagerInterface; | ||
79 | enum class PointerGesturesInterfaceVersion; | 79 | enum class PointerGesturesInterfaceVersion; | ||
80 | class PointerGesturesInterface; | 80 | class PointerGesturesInterface; | ||
81 | enum class PointerConstraintsInterfaceVersion; | ||||
82 | class PointerConstraintsInterface; | ||||
81 | 83 | | |||
82 | /** | 84 | /** | ||
83 | * @brief Class holding the Wayland server display loop. | 85 | * @brief Class holding the Wayland server display loop. | ||
84 | * | 86 | * | ||
85 | * @todo Improve documentation | 87 | * @todo Improve documentation | ||
86 | **/ | 88 | **/ | ||
87 | class KWAYLANDSERVER_EXPORT Display : public QObject | 89 | class KWAYLANDSERVER_EXPORT Display : public QObject | ||
88 | { | 90 | { | ||
▲ Show 20 Lines • Show All 116 Lines • ▼ Show 20 Line(s) | 94 | public: | |||
205 | * Creates the PointerGesturesInterface in interface @p version | 207 | * Creates the PointerGesturesInterface in interface @p version | ||
206 | * | 208 | * | ||
207 | * @returns The created manager object | 209 | * @returns The created manager object | ||
208 | * @since 5.29 | 210 | * @since 5.29 | ||
209 | **/ | 211 | **/ | ||
210 | PointerGesturesInterface *createPointerGestures(const PointerGesturesInterfaceVersion &version, QObject *parent = nullptr); | 212 | PointerGesturesInterface *createPointerGestures(const PointerGesturesInterfaceVersion &version, QObject *parent = nullptr); | ||
211 | 213 | | |||
212 | /** | 214 | /** | ||
215 | * Creates the PointerConstraintsInterface in interface @p version | ||||
216 | * | ||||
217 | * @returns The created manager object | ||||
218 | * @since 5.29 | ||||
219 | **/ | ||||
220 | PointerConstraintsInterface *createPointerConstraints(const PointerConstraintsInterfaceVersion &version, QObject *parent = nullptr); | ||||
221 | | ||||
222 | /** | ||||
213 | * Gets the ClientConnection for the given @p client. | 223 | * Gets the ClientConnection for the given @p client. | ||
214 | * If there is no ClientConnection yet for the given @p client, it will be created. | 224 | * If there is no ClientConnection yet for the given @p client, it will be created. | ||
215 | * @param client The native client for which the ClientConnection is retrieved | 225 | * @param client The native client for which the ClientConnection is retrieved | ||
216 | * @return The ClientConnection for the given native client | 226 | * @return The ClientConnection for the given native client | ||
217 | **/ | 227 | **/ | ||
218 | ClientConnection *getConnection(wl_client *client); | 228 | ClientConnection *getConnection(wl_client *client); | ||
219 | QVector<ClientConnection*> connections() const; | 229 | QVector<ClientConnection*> connections() const; | ||
220 | 230 | | |||
Show All 33 Lines |