| 8 | } |
| 9 | |
| 10 | void PDFFile::reload() { |
| 11 | if (this->pdfBridge == nullptr) { |
| 12 | SDL_LogError(SDL_LOG_CATEGORY_ERROR, "%s", "PDFFile Could not reload: pdfBridge == nullptr"); |
| 13 | return; |
| 14 | } |
| 15 | this->pdfBridge->CloseDocument(); |
| 16 | this->pdfBridge->OpenDocument(*this); |
| 17 | } |
| 18 | |
| 19 | void PDFFile::close() { |
| 20 | if (this->pdfBridge == nullptr) { |
nothing calls this directly
no test coverage detected