Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <OSScreenSaver.h>
Public Member Functions | |
COSScreenSaverManager (std::unique_ptr< IOSScreenSaver > impl) | |
COSScreenSaverInhibitor | CreateInhibitor () |
bool | IsInhibited () |
Friends | |
class | COSScreenSaverInhibitor |
Manage the OS screen saver
This class keeps track of a number of COSScreenSaverInhibitor instances and keeps the OS screen saver inhibited as long as at least one of them exists and is active.
|
explicit |
Create manager with backing OS-specific implementation
COSScreenSaverInhibitor COSScreenSaverManager::CreateInhibitor | ( | ) |
Create inhibitor that prevents the OS screen saver from becoming active as long as it is alive
bool COSScreenSaverManager::IsInhibited | ( | ) |
Check whether the OS screen saver is currently inhibited
|
friend |