kodi
Public Member Functions | Static Public Member Functions | List of all members
KODI::WINDOWING::LINUX::COSScreenSaverFreedesktop Class Reference
Inheritance diagram for KODI::WINDOWING::LINUX::COSScreenSaverFreedesktop:
Inheritance graph
[legend]
Collaboration diagram for KODI::WINDOWING::LINUX::COSScreenSaverFreedesktop:
Collaboration graph
[legend]

Public Member Functions

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 bool IsAvailable ()
 

Member Function Documentation

◆ Inhibit()

void COSScreenSaverFreedesktop::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 COSScreenSaverFreedesktop::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: