mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
Non-throwing Book::getDefaultIllustration()
This commit is contained in:
@ -143,6 +143,10 @@ class Book
|
||||
bool m_readOnly = false;
|
||||
uint64_t m_size = 0;
|
||||
std::vector<std::shared_ptr<Illustration>> m_illustrations;
|
||||
|
||||
// Used as the return value of getDefaultIllustration() when no default
|
||||
// illustration is found in the book
|
||||
static const Illustration missingDefaultIllustration;
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user