scores.h 393 B

12345678910111213141516171819
  1. #include "db.h"
  2. #include "door.h"
  3. class Scores {
  4. private:
  5. door::Door &door;
  6. DBData &db;
  7. std::unique_ptr<door::Panel> top_scores;
  8. std::unique_ptr<door::Panel> top_this_month;
  9. std::unique_ptr<door::Panel> make_top_scores_panel();
  10. std::unique_ptr<door::Panel> make_top_this_month_panel();
  11. public:
  12. Scores(door::Door &d, DBData &dbd);
  13. void display_scores(door::Door &door);
  14. };