view include/gui/dialog/information.h @ 62:4c6dd5999b39

*: update 1. updated animia 2. use widestrings for filesystem on Windows
author Paper <mrpapersonic@gmail.com>
date Sun, 01 Oct 2023 06:16:06 -0400
parents 75c804f713b2
children 3d2decf093bb
line wrap: on
line source

#ifndef __gui__dialog__information_h
#define __gui__dialog__information_h
#include <QDialog>
#include <functional>
#include "core/date.h"
#include "core/anime.h"

class InformationDialog : public QDialog {
		Q_OBJECT

	public:
		InformationDialog(const Anime::Anime& anime, std::function<void()> accept, QWidget* parent = nullptr);

	private:
		unsigned int id;
		unsigned int progress;
		unsigned int episodes;
		unsigned int score;
		bool rewatching;
		Anime::ListStatus status;
		std::string notes;
		Date started;
		Date completed;
		void SaveData();
};
#endif // __gui__dialog__information_h