]> git.sesse.net Git - ccbs/blobdiff - bigscreen/groupscreen.h
GroupScreen now checks the "last updated" information.
[ccbs] / bigscreen / groupscreen.h
index 2d0e81b608c68cc686208a26a912734bdf062fac..72979750cd254550013d288a6125f952b79124a2 100644 (file)
@@ -2,6 +2,8 @@
 #define _GROUPSCREEN_H 1
 
 #include <pqxx/connection>
+#include <time.h>
+#include <sys/time.h>
 
 #include "screen.h"
 #include "flagtrigger.h"
@@ -14,6 +16,7 @@ private:
        FlagTrigger scores_changed;
        pqxx::connection &conn;
        bool valid;
+       struct timeval last_updated;
 
 public:
        GroupScreen(pqxx::connection &conn, unsigned tournament, unsigned round, unsigned parallel);