Mercurial > minori
view include/gui/pages/now_playing.h @ 109:79714c95a145
*: add translation files and locale files
I forgot to add these in the last commit :p
also now you have to ask cmake to update the translations
because before the ts files were not tracked (obviously)
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 06 Nov 2023 01:51:44 -0500 |
parents | 8043152ef9d4 |
children | d43d68408d3c |
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; } class NowPlayingPage final : public QFrame { Q_OBJECT public: NowPlayingPage(QWidget* parent = nullptr); void SetDefault(); void SetPlaying(const Anime::Anime& anime, const std::unordered_map<std::string, std::string>& episodes); int GetPlayingId(); private: QStackedWidget* stack; }; #endif // __gui__pages__now_playing_h