#include <XWindowsPowerManager.h>
◆ InhibitScreenServices
Enumerator |
---|
kScreenSaver | |
kSessionManager | |
◆ XWindowsPowerManager() [1/2]
XWindowsPowerManager::XWindowsPowerManager |
( |
| ) |
|
|
default |
◆ ~XWindowsPowerManager()
XWindowsPowerManager::~XWindowsPowerManager |
( |
| ) |
|
◆ XWindowsPowerManager() [2/2]
◆ disableSleep()
void XWindowsPowerManager::disableSleep |
( |
| ) |
const |
Prevent the system from sleep.
◆ enableSleep()
void XWindowsPowerManager::enableSleep |
( |
| ) |
const |
Enables automatical sleep.
◆ inhibitScreenCall()
bool XWindowsPowerManager::inhibitScreenCall |
( |
InhibitScreenServices | serviceID, |
|
|
bool | state, |
|
|
std::string & | error ) |
|
static |
◆ operator=()
The documentation for this class was generated from the following files: