| 17 | } |
| 18 | |
| 19 | void PDFFile::close() { |
| 20 | if (this->pdfBridge == nullptr) { |
| 21 | SDL_LogError(SDL_LOG_CATEGORY_ERROR, "%s", "PDFFile Could not close: pdfBridge == nullptr"); |
| 22 | return; |
| 23 | } |
| 24 | this->pdfBridge->CloseDocument(); |
| 25 | } |
| 26 | |
| 27 | void PDFFile::loadFromConfig(const filesystem::path &filepath) { |
| 28 | configFilepath = filepath; // save filepath for latter use with writeToConfig |
no test coverage detected