Changeset View
Changeset View
Standalone View
Standalone View
src/server/display.h
Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Line(s) | |||||
71 | class SubCompositorInterface; | 71 | class SubCompositorInterface; | ||
72 | enum class TextInputInterfaceVersion; | 72 | enum class TextInputInterfaceVersion; | ||
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; | ||||
80 | class PointerGesturesInterface; | ||||
79 | 81 | | |||
80 | /** | 82 | /** | ||
81 | * @brief Class holding the Wayland server display loop. | 83 | * @brief Class holding the Wayland server display loop. | ||
82 | * | 84 | * | ||
83 | * @todo Improve documentation | 85 | * @todo Improve documentation | ||
84 | **/ | 86 | **/ | ||
85 | class KWAYLANDSERVER_EXPORT Display : public QObject | 87 | class KWAYLANDSERVER_EXPORT Display : public QObject | ||
86 | { | 88 | { | ||
▲ Show 20 Lines • Show All 108 Lines • ▼ Show 20 Line(s) | 92 | public: | |||
195 | * Creates the RelativePointerManagerInterface in interface @p version | 197 | * Creates the RelativePointerManagerInterface in interface @p version | ||
196 | * | 198 | * | ||
197 | * @returns The created manager object | 199 | * @returns The created manager object | ||
198 | * @since 5.28 | 200 | * @since 5.28 | ||
199 | **/ | 201 | **/ | ||
200 | RelativePointerManagerInterface *createRelativePointerManager(const RelativePointerInterfaceVersion &version, QObject *parent = nullptr); | 202 | RelativePointerManagerInterface *createRelativePointerManager(const RelativePointerInterfaceVersion &version, QObject *parent = nullptr); | ||
201 | 203 | | |||
202 | /** | 204 | /** | ||
205 | * Creates the PointerGesturesInterface in interface @p version | ||||
206 | * | ||||
207 | * @returns The created manager object | ||||
208 | * @since 5.29 | ||||
209 | **/ | ||||
210 | PointerGesturesInterface *createPointerGestures(const PointerGesturesInterfaceVersion &version, QObject *parent = nullptr); | ||||
211 | | ||||
212 | /** | ||||
203 | * Gets the ClientConnection for the given @p client. | 213 | * Gets the ClientConnection for the given @p client. | ||
204 | * If there is no ClientConnection yet for the given @p client, it will be created. | 214 | * If there is no ClientConnection yet for the given @p client, it will be created. | ||
205 | * @param client The native client for which the ClientConnection is retrieved | 215 | * @param client The native client for which the ClientConnection is retrieved | ||
206 | * @return The ClientConnection for the given native client | 216 | * @return The ClientConnection for the given native client | ||
207 | **/ | 217 | **/ | ||
208 | ClientConnection *getConnection(wl_client *client); | 218 | ClientConnection *getConnection(wl_client *client); | ||
209 | QVector<ClientConnection*> connections() const; | 219 | QVector<ClientConnection*> connections() const; | ||
210 | 220 | | |||
Show All 33 Lines |