Reading category element from OPDS stream

This commit is contained in:
Veloman Yunkan
2021-03-10 21:26:28 +04:00
parent e55bf514e8
commit 6b2067c236
3 changed files with 27 additions and 3 deletions

View File

@ -95,6 +95,9 @@ class Book
void setFaviconMimeType(const std::string& faviconMimeType) { m_faviconMimeType = faviconMimeType; }
void setDownloadId(const std::string& downloadId) { m_downloadId = downloadId; }
private:
std::string getCategoryFromTags() const;
protected:
std::string m_id;
std::string m_downloadId;
@ -102,6 +105,7 @@ class Book
bool m_pathValid = false;
std::string m_title;
std::string m_description;
std::string m_category;
std::string m_language;
std::string m_creator;
std::string m_publisher;