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

  1. //-------------------------------------------------------------------------------
  2. // Module:  eclxfer.hpp
  3. //-------------------------------------------------------------------------------
  4. //
  5. // Description:  Declaration of the ECLXfer 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 _ECLXFER_HPP_
  15. #define _ECLXFER_HPP_
  16.  
  17. //#include "eclbase.hpp"                                                         
  18. //#include "eclcinfo.hpp"                                                        
  19.  
  20. class ECLXferData;                              // Foreward declaration 
  21. class DllExport ECLXfer : public ECLConnection
  22. {
  23.   private: // Class private data
  24.     ECLXferData   *pd;                          
  25.  
  26.   private: // Constructors and operators not allowed on this object
  27.     ECLXfer();
  28.     ECLXfer(const ECLXfer &From);
  29.     ECLXfer& operator= (const ECLXfer &From);
  30.  
  31.   public:
  32.  
  33.     // Constructor/destructor
  34.     ECLXfer(char ConnName);
  35.     ECLXfer(long ConnHandle);
  36.     ~ECLXfer();
  37.  
  38.     // ECLXfer methods
  39.     int SendFile(const char * const LocalFileName,
  40.                  const char * const HostFileName,
  41.                  const char * const SendParms);
  42.  
  43.     int ReceiveFile(const char * const LocalFileName,
  44.                     const char * const HostFileName,
  45.                     const char * const RecvParms);
  46.  
  47.     void SetTimeout(int nTimeout);                                              // @w4a
  48.     int  GetTimeout(void);                                                      // @w4a
  49.     void SetClear(BOOL bClear);                                                 // @w4a
  50.     BOOL IsClear(void);                                                         // @w4a
  51.     void Cancel(void);                                                          // @w5a
  52. };
  53.  
  54. typedef ECLXfer * PECLXfer;
  55.  
  56. #endif //_ECLXFER_HPP_
  57.