Added support for terminating inactive/active/disconnected sessions. This is a port of the SF patch 1025108.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@203 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfb/VNCServerST.h b/rfb/VNCServerST.h
index 6655a0d..a6939c8 100644
--- a/rfb/VNCServerST.h
+++ b/rfb/VNCServerST.h
@@ -225,6 +225,10 @@
     SSecurityFactory* securityFactory;
     QueryConnectionHandler* queryConnectionHandler;
     bool useEconomicTranslate;
+    
+    time_t lastUserInputTime;
+    time_t lastDisconnectTime;
+    time_t lastConnectionTime;
   };
 
 };