mirror of https://github.com/kiwix/libkiwix.git
Added Library::addOrUpdateBook() alias
This commit is contained in:
parent
7161db8e2a
commit
405ea29900
|
@ -212,6 +212,11 @@ class Library : private LibraryBase
|
|||
*/
|
||||
bool addBook(const Book& book);
|
||||
|
||||
/**
|
||||
* A self-explanatory alias for addBook()
|
||||
*/
|
||||
bool addOrUpdateBook(const Book& book) { return addBook(book); }
|
||||
|
||||
/**
|
||||
* Add a bookmark to the library.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue