diff options
author | Robert Pösel <robyer@seznam.cz> | 2015-03-06 16:46:10 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2015-03-06 16:46:10 +0000 |
commit | 615a53f6195f25a3d1b517f10f8957d0f0583768 (patch) | |
tree | 4304cd2cf21ad431bc2029170ce50f7e41a1f038 /protocols/Steam/src/common.h | |
parent | 4d7709c7b8fc466d21158670bb94aaea23ecb2e5 (diff) |
Steam: Add support for setting Away and N/A (= snooze) statuses
This is pseudo support as on server it is determined by our idle time which is sent with poll request. That means we must wait up to 30 seconds to status being changed on server.
Also this change disables reporting real idle time.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12352 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/common.h')
-rw-r--r-- | protocols/Steam/src/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Steam/src/common.h b/protocols/Steam/src/common.h index d19f25ab3e..64303c9404 100644 --- a/protocols/Steam/src/common.h +++ b/protocols/Steam/src/common.h @@ -40,6 +40,9 @@ #define MODULE "Steam" +#define STEAM_API_IDLEOUT_AWAY 600 +#define STEAM_API_IDLEOUT_SNOOZE 8000 + class CSteamProto; extern HINSTANCE g_hInstance; |