consolemgr.pp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {$MACRO ON}
  2. (******************************************************************************
  3. *
  4. * Copyright (c) 1994-2000 Palm, Inc. or its subsidiaries.
  5. * All rights reserved.
  6. *
  7. * File: ConsoleMgr.h
  8. *
  9. * Release: Palm OS SDK 4.0 (63220)
  10. *
  11. * Description:
  12. * This module implements simple text in and text out to a console
  13. * application on the other end of the serial port. It talks through
  14. * the Serial Link Manager and sends and receives packets of type slkPktTypeConsole.
  15. *
  16. * History:
  17. * 10/25/94 RM - Created by Ron Marianetti
  18. *
  19. *****************************************************************************)
  20. {$IFNDEF FPC_DOTTEDUNITS}
  21. unit consolemgr;
  22. {$ENDIF FPC_DOTTEDUNITS}
  23. interface
  24. {$IFDEF FPC_DOTTEDUNITS}
  25. uses PalmApi.Palmos, PalmApi.Coretraps;
  26. {$ELSE FPC_DOTTEDUNITS}
  27. uses palmos, coretraps;
  28. {$ENDIF FPC_DOTTEDUNITS}
  29. (********************************************************************
  30. * Console Manager Routines
  31. ********************************************************************)
  32. function ConPutS(const message: PAnsiChar): Err; syscall sysTrapConPutS;
  33. function ConGetS(message: PAnsiChar; timeout: Int32): Err; syscall sysTrapConGetS;
  34. implementation
  35. end.