view include/gui/pages/now_playing.h @ 70:64e5f427c6a2

services/anilist: remove unordered_map usage for enum classes for some reason in C++11 unordered_maps don't work on enumerations. so instead we'll just use a switch statement :P
author Paper <mrpapersonic@gmail.com>
date Tue, 03 Oct 2023 04:45:05 -0400
parents 27a19dd6cba1
children c489dd4434af
line wrap: on
line source

#ifndef __gui__pages__now_playing_h
#define __gui__pages__now_playing_h
#include <QFrame>

class QStackedWidget;

class NowPlayingPage : public QFrame {
		Q_OBJECT

	public:
		NowPlayingPage(QWidget* parent = nullptr);
		void SetDefault();
		void SetPlaying(int id);
		int GetPlayingId();

	private:
		QStackedWidget* stack;
};

#endif // __gui__pages__now_playing_h