Last change
on this file since 10395 was 10384, checked in by tbretz, 14 years ago |
Switch offf custom error handler in destructor.
|
File size:
356 bytes
|
Line | |
---|
1 | #ifndef FACT_DimErrorRedirecter
|
---|
2 | #define FACT_DimErrorRedirecter
|
---|
3 |
|
---|
4 | #include <dim.hxx>
|
---|
5 |
|
---|
6 | class MessageImp;
|
---|
7 |
|
---|
8 | class DimErrorRedirecter : public DimErrorHandler
|
---|
9 | {
|
---|
10 | private:
|
---|
11 | static int cnt;
|
---|
12 |
|
---|
13 | MessageImp &fMsg;
|
---|
14 |
|
---|
15 | void errorHandler(int severity, int code, char *msg);
|
---|
16 |
|
---|
17 | public:
|
---|
18 | DimErrorRedirecter(MessageImp &imp);
|
---|
19 | ~DimErrorRedirecter();
|
---|
20 |
|
---|
21 | };
|
---|
22 |
|
---|
23 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.