Enabled keepalive for Windows (>= Vista)
This commit is contained in:
parent
e7de104d88
commit
5717e72367
6 changed files with 28 additions and 6 deletions
|
@ -49,6 +49,8 @@ public:
|
|||
static inline bool isUserActive(uint64_t ms) { return idleTime() < ms; }
|
||||
static inline const String &userAgent() { return m_userAgent; }
|
||||
|
||||
static bool hasKeepalive();
|
||||
|
||||
static bool isOnBatteryPower();
|
||||
static uint64_t idleTime();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue