view include/gui/pages/now_playing.h @ 192:50108040d792

dep/animia/quartz: GetWindowBundleIdentifier -> GetProcessBundleIdentifier
author Paper <mrpapersonic@gmail.com>
date Thu, 07 Dec 2023 01:50:29 -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