| 63 | bool OpdsParser::error() const { return errorOccured; } |
| 64 | |
| 65 | void OpdsParser::clear() { |
| 66 | entries.clear(); |
| 67 | searchTemplate.clear(); |
| 68 | nextPageUrl.clear(); |
| 69 | prevPageUrl.clear(); |
| 70 | currentEntry = OpdsEntry{}; |
| 71 | currentText.clear(); |
| 72 | inEntry = inTitle = inAuthor = inAuthorName = inId = false; |
| 73 | } |
| 74 | |
| 75 | std::vector<OpdsEntry> OpdsParser::getBooks() const { |
| 76 | std::vector<OpdsEntry> books; |
no outgoing calls