--- /dev/null
+#ifndef _TOP5CHOSENSCREEN_H
+#define _TOP5CHOSENSCREEN_H 1
+
+#include <set>
+#include <pqxx/connection>
+
+#include "screen.h"
+#include "flagtrigger.h"
+#include "fetch_top_chosen_songs_for_tournament.h"
+
+/* A screen class showing a group in the tournament */
+class Top5ChosenScreen : public GenericScreen {
+private:
+ pqxx::connection &conn;
+ unsigned tournament;
+ FlagTrigger scores_changed;
+ bool valid;
+ std::set<TopChosen> seen_topchosen;
+
+public:
+ Top5ChosenScreen(pqxx::connection &conn, unsigned tournament);
+ virtual ~Top5ChosenScreen();
+
+ bool check_invalidated();
+ void draw(unsigned char *buf);
+};
+
+#endif /* !defined(_TOP5CHOSENSCREEN_H) */