home *** CD-ROM | disk | FTP | other *** search
- #pragma once
- //
- // 941103: made 'report_error_and_exit' and 'CheckForError' static functions
- // (i.e. no longer static members of 'general'). Also fixed bug: every instance
- // of 'general' did install a new_handler. Now only the first one created does.
- //
- class general
- {
- public:
- general();
-
- private:
- static int new_handler_installed;
- };
-
- void report_error_and_exit( const char *message);
- void CheckForError( const int errorno, const char *text);
- void report_out_of_memory_and_exit();
-