home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / Connectivity / GateKeeper-2.1 / MODEM.tproj / GateTool.h < prev    next >
Encoding:
Text File  |  1997-01-24  |  1.1 KB  |  47 lines

  1. //************************************************************************
  2. //
  3. //    GateTool.h.  
  4. //
  5. //    by    Felipe A. Rodriguez        
  6. //
  7. //
  8. //    This code is supplied "as is" the author makes no warranty as to its 
  9. //    suitability for any purpose.  This code is free and may be distributed 
  10. //    in accordance with the terms of the:
  11. //        
  12. //            GNU GENERAL PUBLIC LICENSE
  13. //            Version 2, June 1991
  14. //            copyright (C) 1989, 1991 Free Software Foundation, Inc.
  15. //             675 Mass Ave, Cambridge, MA 02139, USA
  16. //
  17. //************************************************************************
  18.  
  19. #import <appkit/appkit.h>
  20.  
  21. @interface GateTool:Object
  22. {
  23.     int ptyMaster;
  24.     id  gatePanel;            /* The Gate Tool panel */
  25.     id  delegate;            /* The Gate Tool panel */
  26. }
  27.  
  28. - writePty:(char *)buffer;
  29. - (void)enScript:(const char *)buffer;
  30. - setPty:(int)pty;
  31. - unlockSerialPort;
  32.  
  33. @end
  34.  
  35.  
  36. @protocol DOserver
  37.                                         
  38. - activateGateKeeper;                      // s/b expected 
  39. - senderIsInvalid:sender; 
  40. - showDialPanel; 
  41. - (char *)modemInit;
  42. - (const char *)modemPort;  
  43. - (const char *)modemSpeed;  
  44. - (BOOL)shouldExit; 
  45.  
  46. @end
  47.