12345678910111213141516171819 |
- #include "db.h"
- #include "door.h"
- class Scores {
- private:
- door::Door &door;
- DBData &db;
- std::unique_ptr<door::Panel> top_scores;
- std::unique_ptr<door::Panel> top_this_month;
- std::unique_ptr<door::Panel> make_top_scores_panel();
- std::unique_ptr<door::Panel> make_top_this_month_panel();
- public:
- Scores(door::Door &d, DBData &dbd);
- void display_scores(door::Door &door);
- };
|