Changeset View
Changeset View
Standalone View
Standalone View
src/server/display.h
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Line(s) | |||||
78 | class XdgShellInterface; | 78 | class XdgShellInterface; | ||
79 | enum class RelativePointerInterfaceVersion; | 79 | enum class RelativePointerInterfaceVersion; | ||
80 | class RelativePointerManagerInterface; | 80 | class RelativePointerManagerInterface; | ||
81 | enum class PointerGesturesInterfaceVersion; | 81 | enum class PointerGesturesInterfaceVersion; | ||
82 | class PointerGesturesInterface; | 82 | class PointerGesturesInterface; | ||
83 | enum class PointerConstraintsInterfaceVersion; | 83 | enum class PointerConstraintsInterfaceVersion; | ||
84 | class PointerConstraintsInterface; | 84 | class PointerConstraintsInterface; | ||
85 | class XdgForeignInterface; | 85 | class XdgForeignInterface; | ||
86 | class AppMenuManagerInterface; | ||||
86 | 87 | | |||
87 | /** | 88 | /** | ||
88 | * @brief Class holding the Wayland server display loop. | 89 | * @brief Class holding the Wayland server display loop. | ||
89 | * | 90 | * | ||
90 | * @todo Improve documentation | 91 | * @todo Improve documentation | ||
91 | **/ | 92 | **/ | ||
92 | class KWAYLANDSERVER_EXPORT Display : public QObject | 93 | class KWAYLANDSERVER_EXPORT Display : public QObject | ||
93 | { | 94 | { | ||
▲ Show 20 Lines • Show All 140 Lines • ▼ Show 20 Line(s) | 98 | public: | |||
234 | * Creates the IdleInhibitManagerInterface in interface @p version. | 235 | * Creates the IdleInhibitManagerInterface in interface @p version. | ||
235 | * | 236 | * | ||
236 | * @returns The created manager object | 237 | * @returns The created manager object | ||
237 | * @since 5.41 | 238 | * @since 5.41 | ||
238 | **/ | 239 | **/ | ||
239 | IdleInhibitManagerInterface *createIdleInhibitManager(const IdleInhibitManagerInterfaceVersion &version, QObject *parent = nullptr); | 240 | IdleInhibitManagerInterface *createIdleInhibitManager(const IdleInhibitManagerInterfaceVersion &version, QObject *parent = nullptr); | ||
240 | 241 | | |||
241 | /** | 242 | /** | ||
243 | * Creates the AppMenuManagerInterface in interface @p version. | ||||
244 | * | ||||
245 | * @returns The created manager object | ||||
246 | * @since 5.XX | ||||
247 | **/ | ||||
248 | AppMenuManagerInterface *createAppMenuManagerInterface(QObject *parent = nullptr); | ||||
249 | | ||||
250 | | ||||
251 | /** | ||||
242 | * Gets the ClientConnection for the given @p client. | 252 | * Gets the ClientConnection for the given @p client. | ||
243 | * If there is no ClientConnection yet for the given @p client, it will be created. | 253 | * If there is no ClientConnection yet for the given @p client, it will be created. | ||
244 | * @param client The native client for which the ClientConnection is retrieved | 254 | * @param client The native client for which the ClientConnection is retrieved | ||
245 | * @return The ClientConnection for the given native client | 255 | * @return The ClientConnection for the given native client | ||
246 | **/ | 256 | **/ | ||
247 | ClientConnection *getConnection(wl_client *client); | 257 | ClientConnection *getConnection(wl_client *client); | ||
248 | QVector<ClientConnection*> connections() const; | 258 | QVector<ClientConnection*> connections() const; | ||
249 | 259 | | |||
Show All 33 Lines |