1baa3858d3f5d128a5c8466b700098109edcad5f2repo sync// ConsoleCloseUtils.h 2baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 3baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#ifndef __CONSOLECLOSEUTILS_H 4baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define __CONSOLECLOSEUTILS_H 5baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 6baa3858d3f5d128a5c8466b700098109edcad5f2repo syncnamespace NConsoleClose { 7baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 8baa3858d3f5d128a5c8466b700098109edcad5f2repo syncbool TestBreakSignal(); 9baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 10baa3858d3f5d128a5c8466b700098109edcad5f2repo syncclass CCtrlHandlerSetter 11baa3858d3f5d128a5c8466b700098109edcad5f2repo sync{ 12baa3858d3f5d128a5c8466b700098109edcad5f2repo syncpublic: 13baa3858d3f5d128a5c8466b700098109edcad5f2repo sync CCtrlHandlerSetter(); 14baa3858d3f5d128a5c8466b700098109edcad5f2repo sync virtual ~CCtrlHandlerSetter(); 15baa3858d3f5d128a5c8466b700098109edcad5f2repo sync}; 16baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 17baa3858d3f5d128a5c8466b700098109edcad5f2repo syncclass CCtrlBreakException 18baa3858d3f5d128a5c8466b700098109edcad5f2repo sync{}; 19baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 20baa3858d3f5d128a5c8466b700098109edcad5f2repo syncvoid CheckCtrlBreak(); 21baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 22baa3858d3f5d128a5c8466b700098109edcad5f2repo sync} 23baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 24baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#endif 25