Mercurial > minori
view include/gui/pages/now_playing.h @ 230:2f5a9247e501
torrents: implement download button
erg
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sat, 13 Jan 2024 09:42:02 -0500 |
parents | d43d68408d3c |
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