home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / games / gi / c / tools / error.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1993-04-14  |  1.5 KB  |  39 lines

  1. /*-------------------------------------------------------------------------*/
  2. /*                                                                         */
  3. /*   ERROR.HPP  : Allgemeine Fehler-Basis-Klasse                           */
  4. /*                                                                         */
  5. /*   Version    : V2.00                                                    */
  6. /*                                                                         */
  7. /*   Date       : 15.10.91                                                 */
  8. /*                                                                         */
  9. /*   Copyright  : RF for Animal                                            */
  10. /*                                                                         */
  11. /*-------------------------------------------------------------------------*/
  12. /*
  13.     History:
  14.  
  15.     16.08.91    RF  Neu-Design
  16.     30.09.91    RF    Falls in " eingekleidet, wird nur dies ausgegeben
  17.     15.10.92    RF    Als Klasse    
  18.     20.10.92    RF    ErrorShow gibt Pointer auf globale Variable
  19. */
  20. #ifndef ERRORINCL
  21. #define ERRORINCL
  22.  
  23. /*--------------------------------------------------------------------------*/
  24. class ERROR
  25.     {
  26.        public:
  27.         unsigned error;
  28.     
  29.     protected:
  30.         ERROR () {error = 0;};
  31.         
  32.     friend char *ErrorShow (unsigned num);
  33.     };
  34. /*--------------------------------------------------------------------------*/
  35. #else
  36.  
  37.     extern char *ErrorShow (unsigned num);
  38.  
  39. #endif    /* not ERRORINCL */