1 // ConsoleCloseUtils.h 2 3 #ifndef __CONSOLECLOSEUTILS_H 4 #define __CONSOLECLOSEUTILS_H 5 6 namespace NConsoleClose { 7 8 bool TestBreakSignal(); 9 10 class CCtrlHandlerSetter 11 { 12 public: 13 CCtrlHandlerSetter(); 14 virtual ~CCtrlHandlerSetter(); 15 }; 16 17 class CCtrlBreakException 18 {}; 19 20 void CheckCtrlBreak(); 21 22 } 23 24 #endif 25