diff include/gui/dialog/information.h @ 51:75c804f713b2

window: add about window, *: use tr() when applicable (useful for i18n)
author Paper <mrpapersonic@gmail.com>
date Mon, 25 Sep 2023 20:29:26 -0400
parents d8eb763e6661
children 3d2decf093bb
line wrap: on
line diff
--- a/include/gui/dialog/information.h	Mon Sep 25 13:50:56 2023 -0400
+++ b/include/gui/dialog/information.h	Mon Sep 25 20:29:26 2023 -0400
@@ -2,9 +2,8 @@
 #define __gui__dialog__information_h
 #include <QDialog>
 #include <functional>
-namespace Anime {
-class Anime;
-}
+#include "core/date.h"
+#include "core/anime.h"
 
 class InformationDialog : public QDialog {
 		Q_OBJECT
@@ -13,7 +12,15 @@
 		InformationDialog(const Anime::Anime& anime, std::function<void()> accept, QWidget* parent = nullptr);
 
 	private:
-		int id;
+		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