comparison 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
comparison
equal deleted inserted replaced
9:5c0397762b53 10:4b198a111713
109 bool GetUserIsRewatching() const; 109 bool GetUserIsRewatching() const;
110 uint64_t GetUserTimeUpdated() const; 110 uint64_t GetUserTimeUpdated() const;
111 std::string GetUserNotes() const; 111 std::string GetUserNotes() const;
112 112
113 void SetUserStatus(ListStatus status); 113 void SetUserStatus(ListStatus status);
114 void SetUserScore(int score);
114 void SetUserProgress(int progress); 115 void SetUserProgress(int progress);
115 void SetUserDateStarted(Date const& started); 116 void SetUserDateStarted(Date const& started);
116 void SetUserDateCompleted(Date const& completed); 117 void SetUserDateCompleted(Date const& completed);
117 void SetUserIsPrivate(bool is_private); 118 void SetUserIsPrivate(bool is_private);
118 void SetUserRewatchedTimes(int rewatched); 119 void SetUserRewatchedTimes(int rewatched);
161 bool IsInUserList() const; 162 bool IsInUserList() const;
162 void RemoveFromUserList(); 163 void RemoveFromUserList();
163 164
164 private: 165 private:
165 SeriesInformation info_; 166 SeriesInformation info_;
166 std::unique_ptr<struct ListInformation> list_info_; 167 std::shared_ptr<struct ListInformation> list_info_;
167 }; 168 };
168 169
169 } // namespace Anime 170 } // namespace Anime
170 171
171 #endif // __core__anime_h 172 #endif // __core__anime_h