Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::WINDOWING::WAYLAND::COSScreenSaverIdleInhibitUnstableV1 Class Reference

#include <OSScreenSaverIdleInhibitUnstableV1.h>

Inheritance diagram for KODI::WINDOWING::WAYLAND::COSScreenSaverIdleInhibitUnstableV1:
KODI::WINDOWING::IOSScreenSaver

Public Member Functions

 COSScreenSaverIdleInhibitUnstableV1 (wayland::zwp_idle_inhibit_manager_v1_t const &manager, wayland::surface_t const &inhibitSurface)
 
void Inhibit () override
 
void Uninhibit () override
 
- Public Member Functions inherited from KODI::WINDOWING::IOSScreenSaver
virtual ~IOSScreenSaver ()=default
 

Static Public Member Functions

static COSScreenSaverIdleInhibitUnstableV1TryCreate (CConnection &connection, wayland::surface_t const &inhibitSurface)
 

Constructor & Destructor Documentation

◆ COSScreenSaverIdleInhibitUnstableV1()

COSScreenSaverIdleInhibitUnstableV1::COSScreenSaverIdleInhibitUnstableV1 ( wayland::zwp_idle_inhibit_manager_v1_t const & manager,
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.

◆ TryCreate()

COSScreenSaverIdleInhibitUnstableV1 * COSScreenSaverIdleInhibitUnstableV1::TryCreate ( CConnection & connection,
wayland::surface_t const & inhibitSurface )
static

◆ 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: