diff include/core/anime.h @ 10:4b198a111713

Update things actually compile now btw qttest wants to fuck over the model but that might be my fault so /shrug
author Paper <mrpapersonic@gmail.com>
date Sat, 16 Sep 2023 02:06:01 -0400
parents 5c0397762b53
children cde8f67a7c7d
line wrap: on
line diff
--- a/include/core/anime.h	Sun Sep 10 03:59:16 2023 -0400
+++ b/include/core/anime.h	Sat Sep 16 02:06:01 2023 -0400
@@ -111,6 +111,7 @@
 		std::string GetUserNotes() const;
 
 		void SetUserStatus(ListStatus status);
+		void SetUserScore(int score);
 		void SetUserProgress(int progress);
 		void SetUserDateStarted(Date const& started);
 		void SetUserDateCompleted(Date const& completed);
@@ -163,7 +164,7 @@
 
 	private:
 		SeriesInformation info_;
-		std::unique_ptr<struct ListInformation> list_info_;
+		std::shared_ptr<struct ListInformation> list_info_;
 };
 
 } // namespace Anime