Mercurial > minori
view 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 |
line wrap: on
line source
#ifndef __gui__pages__now_playing_h #define __gui__pages__now_playing_h #include <QFrame> #include <unordered_map> class QStackedWidget; namespace Anime { class Anime; } namespace anitomy { class Elements; } class NowPlayingPage final : public QFrame { Q_OBJECT public: NowPlayingPage(QWidget* parent = nullptr); void SetDefault(); void SetPlaying(const Anime::Anime& anime, const anitomy::Elements& episodes); int GetPlayingId(); private: QStackedWidget* stack; }; #endif // __gui__pages__now_playing_h