Mercurial > minori
comparison include/gui/pages/now_playing.h @ 154:d43d68408d3c
dep/animia: fix XnuFdTools
also we use anitomy directly now.
HG Enter commit message. Lines beginning with 'HG:' are removed.
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 15 Nov 2023 14:14:17 -0500 |
parents | 8043152ef9d4 |
children | 4d461ef7d424 |
comparison
equal
deleted
inserted
replaced
153:bd439dd6ffc5 | 154:d43d68408d3c |
---|---|
8 | 8 |
9 namespace Anime { | 9 namespace Anime { |
10 class Anime; | 10 class Anime; |
11 } | 11 } |
12 | 12 |
13 namespace anitomy { | |
14 class Elements; | |
15 } | |
16 | |
13 class NowPlayingPage final : public QFrame { | 17 class NowPlayingPage final : public QFrame { |
14 Q_OBJECT | 18 Q_OBJECT |
15 | 19 |
16 public: | 20 public: |
17 NowPlayingPage(QWidget* parent = nullptr); | 21 NowPlayingPage(QWidget* parent = nullptr); |
18 void SetDefault(); | 22 void SetDefault(); |
19 void SetPlaying(const Anime::Anime& anime, const std::unordered_map<std::string, std::string>& episodes); | 23 void SetPlaying(const Anime::Anime& anime, const anitomy::Elements& episodes); |
20 int GetPlayingId(); | 24 int GetPlayingId(); |
21 | 25 |
22 private: | 26 private: |
23 QStackedWidget* stack; | 27 QStackedWidget* stack; |
24 }; | 28 }; |