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>

Collaboration diagram for ScreenSaverInhibitor:
[legend]

Public Member Functions

void inhibit (bool bInhibit, const OUString &sReason, bool bIsX11, const boost::optional< unsigned int > &xid, boost::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

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

Detailed Description

Definition at line 21 of file screensaverinhibitor.hxx.

Member Function Documentation

void ScreenSaverInhibitor::inhibit ( bool  bInhibit,
const OUString &  sReason,
bool  bIsX11,
const boost::optional< unsigned int > &  xid,
boost::optional< Display * >  pDisplay 
)
void ScreenSaverInhibitor::inhibitDPMS ( bool  bInhibit,
Display pDisplay 
)
private
void ScreenSaverInhibitor::inhibitFDO ( bool  bInhibit,
const char *  appname,
const char *  reason 
)
private
void ScreenSaverInhibitor::inhibitFDOPM ( bool  bInhibit,
const char *  appname,
const char *  reason 
)
private
void ScreenSaverInhibitor::inhibitGSM ( bool  bInhibit,
const char *  appname,
const char *  reason,
const unsigned int  xid 
)
private
void ScreenSaverInhibitor::inhibitMSM ( bool  bInhibit,
const char *  appname,
const char *  reason,
const unsigned int  xid 
)
private
static void ScreenSaverInhibitor::inhibitXAutoLock ( bool  bInhibit,
Display pDisplay 
)
staticprivate
void ScreenSaverInhibitor::inhibitXScreenSaver ( bool  bInhibit,
Display pDisplay 
)
private

Member Data Documentation

BOOL ScreenSaverInhibitor::mbDPMSWasEnabled
private

Definition at line 39 of file screensaverinhibitor.hxx.

CARD16 ScreenSaverInhibitor::mnDPMSOffTimeout
private

Definition at line 42 of file screensaverinhibitor.hxx.

CARD16 ScreenSaverInhibitor::mnDPMSStandbyTimeout
private

Definition at line 40 of file screensaverinhibitor.hxx.

CARD16 ScreenSaverInhibitor::mnDPMSSuspendTimeout
private

Definition at line 41 of file screensaverinhibitor.hxx.

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

Definition at line 31 of file screensaverinhibitor.hxx.

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

Definition at line 32 of file screensaverinhibitor.hxx.

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

Definition at line 33 of file screensaverinhibitor.hxx.

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

Definition at line 34 of file screensaverinhibitor.hxx.

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

Definition at line 36 of file screensaverinhibitor.hxx.


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