diff options
author | Timo Eskola <timo@tolleri.net> | 2015-09-08 13:48:18 +0300 |
---|---|---|
committer | Timo Eskola <timo@tolleri.net> | 2015-09-08 13:48:18 +0300 |
commit | a29e83f54bbae14ee29f958d3640be9073e25a0c (patch) | |
tree | 3896cd0a07f585e2ac71d4e5a8c9dda6db6e4780 /activity.h | |
parent | 5803854e175a911011abc760b3cda23dae05b50a (diff) | |
download | vdr-plugin-useractivity-a29e83f54bbae14ee29f958d3640be9073e25a0c.tar.gz vdr-plugin-useractivity-a29e83f54bbae14ee29f958d3640be9073e25a0c.tar.bz2 |
Version 0.0.4:
- Fixed X activity detection for Ubuntu 7.10.
- Fixed compilation without XSS.
- Added host to LSTU printout.
- Fixed SVDRP command SETI for VDR 1.5.1 and later.
Diffstat (limited to 'activity.h')
-rw-r--r-- | activity.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -9,12 +9,15 @@ #ifndef _USERACTILITY_ACTIVITY_H #define _USERACTILITY_ACTIVITY_H +#include <utmp.h> + class cUserActivity { private: #ifdef USE_XSS static int DisplayIdleTime(char *display); #endif static int DeviceIdleTime(char *device); + static int IdleTime(struct utmp *uptr); public: static bool ActiveUsers(void); static void SetMinUserInactivity(int minutes); |