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

  1. //-------------------------------------------------------------------------------
  2. // Module:  eclscrec.hpp
  3. //-------------------------------------------------------------------------------
  4. //
  5. // Description:  ECLSreenReco header file. 
  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. #include "eclall.hpp"                                                  
  13. #ifndef _SCREN_RECO_H
  14. #define _SCREN_RECO_H
  15.  
  16. class ECLScreenDesc;
  17. class ECLRecoNotify;
  18. class ECLScreenNotify;
  19. class ECLSRData;
  20.  
  21. class DllExport ECLScreenReco
  22. {
  23. private: // Class private data
  24.     ECLSRData* pd;
  25. protected:
  26.     void AnalyzeEvent(ECLPS* ps);
  27.     void GenerateStops(ECLPS* ps, int reason);
  28.     void GenerateErrors(ECLPS* ps, ECLErr* e);
  29.     friend class ECLScreenNotify;
  30.  
  31. public:
  32.     ECLScreenReco();
  33.     ~ECLScreenReco();
  34.  
  35.     static BOOL IsMatch(ECLPS& ps, ECLScreenDesc& sd);                  
  36.     static BOOL IsMatch(ECLPS* ps, ECLScreenDesc* sd);                  
  37.     void RegisterScreen(ECLScreenDesc* sd, ECLRecoNotify* notify);
  38.     void UnregisterScreen(ECLScreenDesc* sd, ECLRecoNotify* notify);    
  39.     void AddPS(ECLPS* ps);
  40.     void RemovePS(ECLPS* ps);
  41. };
  42.  
  43. #endif
  44.