1 #ifndef _TOP10SCORESCREEN_H
2 #define _TOP10SCORESCREEN_H 1
5 #include <pqxx/connection>
8 #include "flagtrigger.h"
9 #include "fetch_top_scores_for_tournament.h"
11 /* A screen class showing a group in the tournament */
12 class Top10ScoreScreen : public GenericScreen {
14 pqxx::connection &conn;
16 FlagTrigger scores_changed;
18 std::set<TopScore> seen_topscore;
21 Top10ScoreScreen(pqxx::connection &conn, unsigned tournament);
22 virtual ~Top10ScoreScreen();
24 bool check_invalidated();
25 void draw(unsigned char *buf, unsigned width, unsigned height);
29 #endif /* !defined(_TOP10SCORESCREEN_H) */