1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-04-25 15:42:39 -04:00

Enabled keepalive for Windows (>= Vista)

This commit is contained in:
SChernykh
2023-07-17 09:49:10 +02:00
parent e7de104d88
commit 5717e72367
6 changed files with 28 additions and 6 deletions

View File

@@ -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();