X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=bigscreen%2Ftop10scorescreen.h;fp=bigscreen%2Ftop10scorescreen.h;h=143c291a97da62303f66cc7c2c01f38d017fcb14;hp=9e8f3c07b6313807901ad0bcecc10cfc38de8572;hb=0e17c7dcfd783acd4792c392c347e5e523757de3;hpb=5a591d5e5db52bb78fd794342f090c7db66211dd diff --git a/bigscreen/top10scorescreen.h b/bigscreen/top10scorescreen.h index 9e8f3c0..143c291 100644 --- a/bigscreen/top10scorescreen.h +++ b/bigscreen/top10scorescreen.h @@ -1,14 +1,12 @@ #ifndef _TOP10SCORESCREEN_H #define _TOP10SCORESCREEN_H 1 -#include +#include #include -#include -#include #include "screen.h" #include "flagtrigger.h" -#include "fonts.h" +#include "fetch_top_scores_for_tournament.h" /* A screen class showing a group in the tournament */ class Top10ScoreScreen : public GenericScreen { @@ -17,7 +15,7 @@ private: unsigned tournament; FlagTrigger scores_changed; bool valid; - std::vector last_text; + std::set seen_topscore; public: Top10ScoreScreen(pqxx::connection &conn, unsigned tournament);