Add update method to Book.

This commit is contained in:
Matthieu Gautier
2018-08-29 15:55:06 +02:00
parent db9000f706
commit 741c67786a
2 changed files with 46 additions and 39 deletions

View File

@ -48,6 +48,7 @@ class Book
Book();
~Book();
bool update(const Book& other);
static bool sortByLastOpen(const Book& a, const Book& b);
static bool sortByTitle(const Book& a, const Book& b);
static bool sortBySize(const Book& a, const Book& b);