xbmc
|
Public Member Functions | |
COSScreenSaverIdleInhibitUnstableV1 (wayland::zwp_idle_inhibit_manager_v1_t const &manager, wayland::surface_t const &inhibitSurface) | |
void | Inhibit () override |
Do not allow the OS screen saver to become active. More... | |
void | Uninhibit () override |
Allow the OS screen saver to become active again. More... | |
Static Public Member Functions | |
static COSScreenSaverIdleInhibitUnstableV1 * | TryCreate (CConnection &connection, wayland::surface_t const &inhibitSurface) |
|
overridevirtual |
Do not allow the OS screen saver to become active.
Calling this function multiple times without calling Unhibit MUST NOT produce any side-effects.
Implements KODI::WINDOWING::IOSScreenSaver.
|
overridevirtual |
Allow the OS screen saver to become active again.
Calling this function multiple times or at all without calling Inhibit MUST NOT produce any side-effects.
Implements KODI::WINDOWING::IOSScreenSaver.