|
KiCad PCB EDA Suite
|
RAII class to set and restore the fontconfig reporter. More...
#include <reporter.h>
Public Member Functions | |
| FONTCONFIG_REPORTER_SCOPE (REPORTER *aReporter) | |
| ~FONTCONFIG_REPORTER_SCOPE () | |
Private Attributes | |
| REPORTER * | m_previousReporter |
RAII class to set and restore the fontconfig reporter.
Ensures the fontconfig reporter is properly reset even if an exception occurs during file loading operations.
Definition at line 331 of file reporter.h.
|
explicit |
Definition at line 284 of file reporter.cpp.
References m_previousReporter, and fontconfig::FONTCONFIG::SetReporter().
| FONTCONFIG_REPORTER_SCOPE::~FONTCONFIG_REPORTER_SCOPE | ( | ) |
Definition at line 291 of file reporter.cpp.
References m_previousReporter, and fontconfig::FONTCONFIG::SetReporter().
|
private |
Definition at line 338 of file reporter.h.
Referenced by FONTCONFIG_REPORTER_SCOPE(), and ~FONTCONFIG_REPORTER_SCOPE().