// ----------------------------------------------------------------------- // // // MODULE : AssertMgr.h // // PURPOSE : AssertMgr definition // // CREATED : 05.06.1999 // // ----------------------------------------------------------------------- // #ifndef __ASSERT_MGR_H__ #define __ASSERT_MGR_H__ class CAssertMgr { public : // Public methods static void Enable(); static void Disable(); protected : // Protected methods static int ReportHook(int nReportType, char* szMessage, int* pnReturnValue); protected : // Protected member variables static LTBOOL m_bEnabled; static _CRT_REPORT_HOOK m_crhPrevious; }; #endif