Last change
on this file since 19921 was 10858, checked in by tbretz, 14 years ago |
Changed the data member cnt's name -- it sometimes gave warnings using cnt locally in derived classes.
|
File size:
443 bytes
|
Line | |
---|
1 | #ifndef FACT_DimErrorRedirecter
|
---|
2 | #define FACT_DimErrorRedirecter
|
---|
3 |
|
---|
4 | #include <dis.hxx>
|
---|
5 |
|
---|
6 | class MessageImp;
|
---|
7 |
|
---|
8 | class DimErrorRedirecter : public DimErrorHandler, public DimExitHandler
|
---|
9 | {
|
---|
10 | private:
|
---|
11 | static int fDimErrorRedireterCnt;
|
---|
12 |
|
---|
13 | MessageImp &fMsg;
|
---|
14 |
|
---|
15 | void errorHandler(int severity, int code, char *msg);
|
---|
16 | void exitHandler(int code) { exit(code); }
|
---|
17 |
|
---|
18 | public:
|
---|
19 | DimErrorRedirecter(MessageImp &imp);
|
---|
20 | ~DimErrorRedirecter();
|
---|
21 | };
|
---|
22 |
|
---|
23 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.