Deprecated Book::getLanguage()

Introduced `Book::getCommaSeparatedLanguages()` instead.
This commit is contained in:
Veloman Yunkan
2023-03-02 17:12:36 +04:00
committed by Matthieu Gautier
parent 2550306052
commit eb002ae306
7 changed files with 15 additions and 10 deletions

View File

@ -79,7 +79,8 @@ class Book
bool isPathValid() const { return m_pathValid; }
const std::string& getTitle() const { return m_title; }
const std::string& getDescription() const { return m_description; }
const std::string& getLanguage() const { return m_language; }
DEPRECATED const std::string& getLanguage() const { return m_language; }
const std::string& getCommaSeparatedLanguages() const { return m_language; }
const std::vector<std::string> getLanguages() const;
const std::string& getCreator() const { return m_creator; }
const std::string& getPublisher() const { return m_publisher; }