home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pc3270sa.zip / eclerr.hpp < prev    next >
C/C++ Source or Header  |  2002-02-28  |  2KB  |  43 lines

  1. //-------------------------------------------------------------------------------
  2. // Module:  eclerr.hpp
  3. //-------------------------------------------------------------------------------
  4. //
  5. // Description:  ECLErr class definitions.
  6. //
  7. //-------------------------------------------------------------------------------
  8. // Copyright Notice: IBM Personal Communication/3270 Version 4.3
  9. //                   (C) COPYRIGHT IBM CORP. 1989,1998 - PROGRAM PROPERTY
  10. //                   OF IBM ALL RIGHTS RESERVED
  11. //-------------------------------------------------------------------------------
  12.  
  13. #include "eclall.hpp"
  14. #ifndef _ECLERR_HPP_
  15. #define _ECLERR_HPP_
  16.  
  17. //#include "eclbase.hpp"                                                         
  18. //#include "errorids.hpp"                                                        
  19.  
  20. class ECLErrData;                          // Forward declaration 
  21. class DllExport ECLErr : public ECLBase
  22. {
  23.   private: // Class private data
  24.     ECLErrData *pd;                       // Class private data 
  25.  
  26.   public:
  27.  
  28.     // Constructor/destructor
  29.     ECLErr();                                 // Default constructor
  30.     ECLErr(const ECLErr &From);               // Copy constructor  
  31.     ECLErr& operator= (const ECLErr &From);   // Assignment operator
  32.     ~ECLErr();                                // Destructor
  33.  
  34.     // ECLErr access functions
  35.     const int GetMsgNumber() const;
  36.     const int GetReasonCode() const;
  37.     const char *GetMsgText();
  38. };
  39.  
  40. typedef ECLErr * PECLErr;
  41.  
  42. #endif //_ECLERR_HPP_
  43.