home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c100 / 4.ddi / COM.ZIP / PCODES.H < prev    next >
Encoding:
C/C++ Source or Header  |  1990-08-02  |  1.6 KB  |  80 lines

  1. /*------------------------------------------------------------------*/
  2. /*                            QED Software                            */
  3. /*              Copyright (c) 1990 - All Rights Reserved                */
  4. /*------------------------------------------------------------------*/
  5. /*    File:      PCodes.h                                              */
  6. /*    Desc:      Pseudo-code equates for communications engine         */
  7. /*------------------------------------------------------------------*/
  8. /*
  9.     Note: Most str255 strings include a null terminator for convenience,
  10.     as we usually have to pass the string to some routine which expects
  11.     a normal c-string.  The size byte in front of the string is to
  12.     speed up p-code processing by letting the engine know how far to skip
  13.     without having to scan.
  14. */
  15.  
  16. /*
  17.     end of p-code program
  18. */
  19. #define PC_END        0
  20.  
  21. /*
  22.     Send string to the modem immediately.
  23.     
  24.     Followed by str255 to be sent (NOTE: NOT NULL TERMINATED)
  25. */
  26. #define PC_SEND        1
  27.         
  28. /*
  29.     Wait for a string
  30.  
  31.     Followed by str255 to wait for (indefinite time)
  32. */
  33. #define PC_WAITFOR    2
  34.  
  35. //
  36. // Ring the bell
  37. //
  38. #define PC_BELL        3
  39.         
  40. //
  41. // Display a 'notify' dialog with string
  42. //
  43. // Followed by str255 message
  44. //
  45. #define PC_NOTIFY     4
  46.  
  47. //
  48. // Remove a 'notify' dialog
  49. //
  50. #define PC_NOTIFYOFF 5
  51.  
  52. //
  53. // Wait a specified number of seconds
  54. //
  55. // Followed by INT count
  56. // 
  57. #define PC_WAIT 6
  58.  
  59. //
  60. // Send a string slowly (user typing speeds)
  61. //
  62. // This has the same format as a regular PC_SEND
  63. //
  64. #define PC_SENDSLOW 7
  65.  
  66. //
  67. // Close the current window
  68. //
  69. #define PC_CLOSEWINDOW 8
  70.  
  71. //
  72. // Display text in the comment area
  73. //
  74. #define PC_DISPCOM 9
  75.  
  76. //
  77. // Erase the comment area
  78. //
  79. #define PC_ERASECOM 10
  80.