LibreOffice Module vcl (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
ScreenSaverInhibitor Class Reference

#include <screensaverinhibitor.hxx>

Public Member Functions

void inhibit (bool bInhibit, std::u16string_view sReason, bool bIsX11, const std::optional< unsigned int > &xid, std::optional< Display * > pDisplay)
 

Private Member Functions

void inhibitFDO (bool bInhibit, const char *appname, const char *reason)
 
void inhibitFDOPM (bool bInhibit, const char *appname, const char *reason)
 
void inhibitGSM (bool bInhibit, const char *appname, const char *reason, const unsigned int xid)
 
void inhibitMSM (bool bInhibit, const char *appname, const char *reason, const unsigned int xid)
 
void inhibitXScreenSaver (bool bInhibit, Display *pDisplay)
 
void inhibitDPMS (bool bInhibit, Display *pDisplay)
 

Static Private Member Functions

static void inhibitXAutoLock (bool bInhibit, Display *pDisplay)
 

Private Attributes

std::optional< unsigned intmnFDOCookie
 
std::optional< unsigned intmnFDOPMCookie
 
std::optional< unsigned intmnGSMCookie
 
std::optional< unsigned intmnMSMCookie
 
std::optional< intmnXScreenSaverTimeout
 
BOOL mbDPMSWasEnabled
 
CARD16 mnDPMSStandbyTimeout
 
CARD16 mnDPMSSuspendTimeout
 
CARD16 mnDPMSOffTimeout
 

Detailed Description

Definition at line 22 of file screensaverinhibitor.hxx.

Member Function Documentation

◆ inhibit()

void ScreenSaverInhibitor::inhibit ( bool  bInhibit,
std::u16string_view  sReason,
bool  bIsX11,
const std::optional< unsigned int > &  xid,
std::optional< Display * >  pDisplay 
)

◆ inhibitDPMS()

void ScreenSaverInhibitor::inhibitDPMS ( bool  bInhibit,
Display pDisplay 
)
private

◆ inhibitFDO()

void ScreenSaverInhibitor::inhibitFDO ( bool  bInhibit,
const char *  appname,
const char *  reason 
)
private

◆ inhibitFDOPM()

void ScreenSaverInhibitor::inhibitFDOPM ( bool  bInhibit,
const char *  appname,
const char *  reason 
)
private

◆ inhibitGSM()

void ScreenSaverInhibitor::inhibitGSM ( bool  bInhibit,
const char *  appname,
const char *  reason,
const unsigned int  xid 
)
private

◆ inhibitMSM()

void ScreenSaverInhibitor::inhibitMSM ( bool  bInhibit,
const char *  appname,
const char *  reason,
const unsigned int  xid 
)
private

◆ inhibitXAutoLock()

static void ScreenSaverInhibitor::inhibitXAutoLock ( bool  bInhibit,
Display pDisplay 
)
staticprivate

◆ inhibitXScreenSaver()

void ScreenSaverInhibitor::inhibitXScreenSaver ( bool  bInhibit,
Display pDisplay 
)
private

Member Data Documentation

◆ mbDPMSWasEnabled

BOOL ScreenSaverInhibitor::mbDPMSWasEnabled
private

Definition at line 40 of file screensaverinhibitor.hxx.

◆ mnDPMSOffTimeout

CARD16 ScreenSaverInhibitor::mnDPMSOffTimeout
private

Definition at line 43 of file screensaverinhibitor.hxx.

◆ mnDPMSStandbyTimeout

CARD16 ScreenSaverInhibitor::mnDPMSStandbyTimeout
private

Definition at line 41 of file screensaverinhibitor.hxx.

◆ mnDPMSSuspendTimeout

CARD16 ScreenSaverInhibitor::mnDPMSSuspendTimeout
private

Definition at line 42 of file screensaverinhibitor.hxx.

◆ mnFDOCookie

std::optional<unsigned int> ScreenSaverInhibitor::mnFDOCookie
private

Definition at line 32 of file screensaverinhibitor.hxx.

◆ mnFDOPMCookie

std::optional<unsigned int> ScreenSaverInhibitor::mnFDOPMCookie
private

Definition at line 33 of file screensaverinhibitor.hxx.

◆ mnGSMCookie

std::optional<unsigned int> ScreenSaverInhibitor::mnGSMCookie
private

Definition at line 34 of file screensaverinhibitor.hxx.

◆ mnMSMCookie

std::optional<unsigned int> ScreenSaverInhibitor::mnMSMCookie
private

Definition at line 35 of file screensaverinhibitor.hxx.

◆ mnXScreenSaverTimeout

std::optional<int> ScreenSaverInhibitor::mnXScreenSaverTimeout
private

Definition at line 37 of file screensaverinhibitor.hxx.


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