view include/gui/pages/now_playing.h @ 222:b9f111d84d95

*: move to semver, remove old macos build, add library files I'm retarded and can't commit files right
author Paper <paper@paper.us.eu.org>
date Mon, 08 Jan 2024 13:22:09 -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