home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / 3DTOSHI2.ZIP / mpgfx / source / gfxerror.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-03-25  |  592 b   |  31 lines

  1.  
  2. // gfxerror.cpp
  3. //
  4. // Copyright (c) 1995 by Toshiaki Tsuji, all rights reserved.
  5.  
  6. #include "stdgfx.h"
  7. #include "gfxerror.h"
  8.  
  9. ERRORHANDLER::ERRORHANDLER () : SYSTEMTOOL ()
  10.   {
  11.     LastError = ERR_NOERROR;
  12.   } // End of Constructor for ERRORHANDLER
  13.  
  14. ERRORHANDLER::~ERRORHANDLER ()
  15.   {
  16.   } // End of Destructor for ERRORHANDLER
  17.  
  18. void ERRORHANDLER::SetError ( ERR_TYPE Err )
  19.   {
  20.     LastError = Err;
  21.   } // End of SetError for ERRORHANDLER
  22.  
  23. ERR_TYPE ERRORHANDLER::GetError ()
  24.   {
  25.     return LastError;
  26.   } // End of GetError for ERRORHANDLER
  27.  
  28. ERRORHANDLER Error;
  29.  
  30.  
  31.