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