10#ifndef INCLUDED_VCL_INC_UNX_SCREENSAVERINHIBITOR_HXX
11#define INCLUDED_VCL_INC_UNX_SCREENSAVERINHIBITOR_HXX
16#include <rtl/ustring.hxx>
32 unsigned int window_system_id, std::optional<Display*> pDisplay,
33 const char* application_id =
nullptr);
67 void inhibitFDOSS(
bool bInhibit,
const char* appname,
const char* reason);
68 void inhibitFDOPM(
bool bInhibit,
const char* appname,
const char* reason);
69 void inhibitGSM(
bool bInhibit,
const char* appname,
const char* reason,
71 void inhibitMSM(
bool bInhibit,
const char* appname,
const char* reason,
std::optional< unsigned int > mnMSMCookie
std::optional< unsigned int > mnFDOSSCookie
void inhibitDPMS(bool bInhibit, Display *pDisplay)
static void inhibitXAutoLock(bool bInhibit, Display *pDisplay)
CARD16 mnDPMSSuspendTimeout
void inhibitMSM(bool bInhibit, const char *appname, const char *reason, ApplicationInhibitFlags eType, unsigned int window_system_id)
void inhibitGSM(bool bInhibit, const char *appname, const char *reason, ApplicationInhibitFlags eType, unsigned int window_system_id)
std::optional< int > mnXScreenSaverTimeout
std::optional< unsigned int > mnGSMCookie
std::optional< unsigned int > mnFDOPMCookie
void inhibit(bool bInhibit, std::u16string_view sReason, ApplicationInhibitFlags eType, unsigned int window_system_id, std::optional< Display * > pDisplay, const char *application_id=nullptr)
CARD16 mnDPMSStandbyTimeout
void inhibitFDOSS(bool bInhibit, const char *appname, const char *reason)
void inhibitXScreenSaver(bool bInhibit, Display *pDisplay)
void inhibitFDOPM(bool bInhibit, const char *appname, const char *reason)
#define VCL_PLUGIN_PUBLIC
const wchar_t *typedef BOOL
@ APPLICATION_INHIBIT_IDLE
@ APPLICATION_INHIBIT_LOGOUT