Changeset View
Changeset View
Standalone View
Standalone View
src/server/plasmashell_interface.h
Show First 20 Lines • Show All 104 Lines • ▼ Show 20 Line(s) | 82 | public: | |||
---|---|---|---|---|---|
105 | * The role can be used by the server to e.g. change the stacking order accordingly. | 105 | * The role can be used by the server to e.g. change the stacking order accordingly. | ||
106 | **/ | 106 | **/ | ||
107 | enum class Role { | 107 | enum class Role { | ||
108 | Normal, ///< A normal surface | 108 | Normal, ///< A normal surface | ||
109 | Desktop, ///< The surface represents a desktop, normally stacked below all other surfaces | 109 | Desktop, ///< The surface represents a desktop, normally stacked below all other surfaces | ||
110 | Panel, ///< The surface represents a panel (dock), normally stacked above normal surfaces | 110 | Panel, ///< The surface represents a panel (dock), normally stacked above normal surfaces | ||
111 | OnScreenDisplay, ///< The surface represents an on screen display, like a volume changed notification | 111 | OnScreenDisplay, ///< The surface represents an on screen display, like a volume changed notification | ||
112 | Notification, ///< The surface represents a notification @since 5.24 | 112 | Notification, ///< The surface represents a notification @since 5.24 | ||
113 | ToolTip ///< The surface represents a tooltip @since 5.24 | 113 | ToolTip, ///< The surface represents a tooltip @since 5.24 | ||
114 | CriticalNotification, ///< The surface represents a critical notification, like battery is running out @since 5.58 | ||||
114 | }; | 115 | }; | ||
115 | /** | 116 | /** | ||
116 | * @returns The requested role, default value is @c Role::Normal. | 117 | * @returns The requested role, default value is @c Role::Normal. | ||
117 | **/ | 118 | **/ | ||
118 | Role role() const; | 119 | Role role() const; | ||
119 | /** | 120 | /** | ||
120 | * Describes how a PlasmaShellSurfaceInterface with role @c Role::Panel should behave. | 121 | * Describes how a PlasmaShellSurfaceInterface with role @c Role::Panel should behave. | ||
121 | **/ | 122 | **/ | ||
▲ Show 20 Lines • Show All 128 Lines • Show Last 20 Lines |