2 #define _GROUPSCREEN_H 1
4 #include <pqxx/connection>
9 #include "flagtrigger.h"
12 /* A screen class showing a group in the tournament */
13 class GroupScreen : public GenericScreen {
15 unsigned tournament, round, parallel;
16 FlagTrigger scores_changed;
17 pqxx::connection &conn;
19 struct timeval last_updated;
22 GroupScreen(pqxx::connection &conn, unsigned tournament, unsigned round, unsigned parallel);
23 virtual ~GroupScreen();
25 bool check_invalidated();
26 void draw(unsigned char *buf);
29 #endif /* !defined(_GROUPSCREEN_H) */