#include "fetch_auxilliary_screens.h"
#include "fonts.h"
#include "groupscreen.h"
+#include "top10scorescreen.h"
#include "splitscreen.h"
#include "rotatescreen.h"
conn.perform(FetchAuxilliaryScreens(&aux_screens));
for (std::vector<widestring>::const_iterator i = aux_screens.begin(); i != aux_screens.end(); ++i) {
-// std::fprintf(stderr, "Auxilliary screen '%s'\n", i->c_str());
+ if (*i == widestring("top10scores")) {
+ screens.push_back(new Top10ScoreScreen(conn, active_tournament.id));
+ continue;
+ }
+ std::fprintf(stderr, "Foobarbaz?\n");
}
// hack