diff options
Diffstat (limited to 'activity.h')
-rw-r--r-- | activity.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/activity.h b/activity.h new file mode 100644 index 0000000..752efdb --- /dev/null +++ b/activity.h @@ -0,0 +1,25 @@ +/* + * activity.h: A plugin for the Video Disk Recorder + * + * See the README file for copyright information and how to reach the author. + * + * $Id$ + */ + +#ifndef _USERACTILITY_ACTIVITY_H +#define _USERACTILITY_ACTIVITY_H + +class cUserActivity { + private: +#ifdef USE_XSS + static int DisplayIdleTime(char *display); +#endif + static int DeviceIdleTime(char *device); + public: + static bool ActiveUsers(void); + static void SetMinUserInactivity(int minutes); + static int GetMinUserInactivity(void); + static char *GetUsers(void); +}; + +#endif |