MiKTeX 26.5-next
A scalable TeX distribution
Loading...
Searching...
No Matches
ErrorHandlerImpl.h
Go to the documentation of this file.
1
13
14#pragma once
15
16#include <miktex/TeXAndFriends/config.h>
17
18#include "TeXMFApp.h"
19
20MIKTEX_TEXMF_BEGIN_NAMESPACE;
21
22template<class PROGRAM_CLASS> class ErrorHandlerImpl :
23 public IErrorHandler
24{
25
26public:
27
28 ErrorHandlerImpl(PROGRAM_CLASS& program) :
29 program(program)
30 {
31 }
32
33 C4P::C4P_integer& interrupt() override
34 {
35 return program.interrupt;
36 }
37
38private:
39
40 PROGRAM_CLASS& program;
41};
42
43MIKTEX_TEXMF_END_NAMESPACE;
MiKTeX TeXMF base implementation.
Definition TeXMFApp.h:59