#ifndef TIMERX11_H #define TIMERX11_H #include #include "config.h" #include #include #ifdef HAVE_XSS #include #endif #include "Timer.h" class TimerX11 : public Timer { public: TimerX11(const int w, const unsigned long h, const unsigned long i); ~TimerX11(); static Display *const DisplayID() { return(display_); }; bool Sleep(); private: static Display *display_; bool SleepForTime(time_t sleep); #ifdef HAVE_XSS Window root_; XScreenSaverInfo* screenSaverInfo_; #endif unsigned long GetSystemIdleTime(); }; #endif