10 #ifndef INCLUDED_VCL_INC_UNX_SCREENSAVERINHIBITOR_HXX
11 #define INCLUDED_VCL_INC_UNX_SCREENSAVERINHIBITOR_HXX
16 #include <rtl/ustring.hxx>
20 #include <string_view>
25 void inhibit(
bool bInhibit, std::u16string_view sReason,
bool bIsX11,
26 const std::optional<unsigned int>& xid, std::optional<Display*> pDisplay);
39 #if !defined(__sun) && !defined(AIX)
60 void inhibitFDO(
bool bInhibit,
const char* appname,
const char* reason);
61 void inhibitFDOPM(
bool bInhibit,
const char* appname,
const char* reason);
62 void inhibitGSM(
bool bInhibit,
const char* appname,
const char* reason,
const unsigned int xid);
63 void inhibitMSM(
bool bInhibit,
const char* appname,
const char* reason,
const unsigned int xid);
65 void inhibitXScreenSaver(
bool bInhibit,
Display* pDisplay);
66 static void inhibitXAutoLock(
bool bInhibit,
Display* pDisplay);
67 void inhibitDPMS(
bool bInhibit,
Display* pDisplay);
70 #endif // INCLUDED_VCL_INC_UNX_SCREENSAVERINHIBITOR_HXX
CARD16 mnDPMSStandbyTimeout
std::optional< unsigned int > mnFDOPMCookie
std::optional< unsigned int > mnGSMCookie
const wchar_t *typedef BOOL
std::optional< int > mnXScreenSaverTimeout
CARD16 mnDPMSSuspendTimeout
std::optional< unsigned int > mnFDOCookie
std::optional< unsigned int > mnMSMCookie
#define VCL_PLUGIN_PUBLIC