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

  1. //-------------------------------------------------------------------------------
  2. // Module:  eclsess.hpp
  3. //-------------------------------------------------------------------------------
  4. //
  5. // Description:  Declaration of ECLSession class 
  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 _ECLSESS_HPP_
  15. #define _ECLSESS_HPP_
  16.  
  17. //#include "eclcinfo.hpp"                                                        
  18. //#include "eclwmet.hpp"                                                         
  19. //#include "eclps.hpp"                                                           
  20. //#include "ecloia.hpp"                                                          
  21. //#include "eclxfer.hpp"                                                         
  22. //#include "eclnotfy.hpp"                                                        
  23.  
  24. class ECLSessionData;                       // Forward declarations
  25.  
  26. class DllExport ECLSession : public ECLConnection
  27. {
  28.  
  29.   private: // Class private data
  30.     ECLSessionData   *pd;                    
  31.  
  32.   private: // Constructors and operators not allowed on this object
  33.     ECLSession();
  34.     ECLSession(const ECLSession &From);
  35.     ECLSession& operator= (const ECLSession &From);
  36.  
  37.   public:
  38.     // Constructor/destructor
  39.     ECLSession(char ConnName);
  40.     ECLSession(long ConnHandle);
  41.     ~ECLSession();
  42.  
  43.     // ECLSession property access methods
  44.     ECLWinMetrics  *GetWinMetrics() const;
  45.     ECLPS          *GetPS() const;
  46.     ECLOIA         *GetOIA() const;
  47.     ECLXfer        *GetXfer() const;
  48.  
  49.     // Events
  50.     // These Events are no longer implemented and should not be used. These calls are deprecated
  51.     void RegisterUpdateEvent(UPDATETYPE Type, ECLUpdateNotify *UpdateNotifyClass, BOOL InitEvent=TRUE);
  52.     void UnregisterUpdateEvent(ECLUpdateNotify *UpdateNotifyClass);
  53.  
  54. };
  55.  
  56. typedef ECLSession * PECLSession;
  57.  
  58. #endif //_ECLSESS_HPP_
  59.