MCPcopy Create free account
hub / github.com/OpenBoardView/OpenBoardView / reload

Method reload

src/openboardview/PDFBridge/PDFFile.cpp:10–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8}
9
10void 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
19void PDFFile::close() {
20 if (this->pdfBridge == nullptr) {

Callers

nothing calls this directly

Calls 2

CloseDocumentMethod · 0.45
OpenDocumentMethod · 0.45

Tested by

no test coverage detected