xbmc
Public Member Functions | Static Public Member Functions | List of all members
KODI::WINDOWING::WAYLAND::COSScreenSaverIdleInhibitUnstableV1 Class Reference
Inheritance diagram for KODI::WINDOWING::WAYLAND::COSScreenSaverIdleInhibitUnstableV1:
Inheritance graph
[legend]
Collaboration diagram for KODI::WINDOWING::WAYLAND::COSScreenSaverIdleInhibitUnstableV1:
Collaboration graph
[legend]

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 COSScreenSaverIdleInhibitUnstableV1TryCreate (CConnection &connection, wayland::surface_t const &inhibitSurface)
 

Member Function Documentation

◆ Inhibit()

void COSScreenSaverIdleInhibitUnstableV1::Inhibit ( )
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.

◆ Uninhibit()

void COSScreenSaverIdleInhibitUnstableV1::Uninhibit ( )
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.


The documentation for this class was generated from the following files: