home *** CD-ROM | disk | FTP | other *** search
- /*------------------------------------------------------------------*/
- /* QED Software */
- /* Copyright (c) 1990 - All Rights Reserved */
- /*------------------------------------------------------------------*/
- /* File: PCodes.h */
- /* Desc: Pseudo-code equates for communications engine */
- /*------------------------------------------------------------------*/
- /*
- Note: Most str255 strings include a null terminator for convenience,
- as we usually have to pass the string to some routine which expects
- a normal c-string. The size byte in front of the string is to
- speed up p-code processing by letting the engine know how far to skip
- without having to scan.
- */
-
- /*
- end of p-code program
- */
- #define PC_END 0
-
- /*
- Send string to the modem immediately.
-
- Followed by str255 to be sent (NOTE: NOT NULL TERMINATED)
- */
- #define PC_SEND 1
-
- /*
- Wait for a string
-
- Followed by str255 to wait for (indefinite time)
- */
- #define PC_WAITFOR 2
-
- //
- // Ring the bell
- //
- #define PC_BELL 3
-
- //
- // Display a 'notify' dialog with string
- //
- // Followed by str255 message
- //
- #define PC_NOTIFY 4
-
- //
- // Remove a 'notify' dialog
- //
- #define PC_NOTIFYOFF 5
-
- //
- // Wait a specified number of seconds
- //
- // Followed by INT count
- //
- #define PC_WAIT 6
-
- //
- // Send a string slowly (user typing speeds)
- //
- // This has the same format as a regular PC_SEND
- //
- #define PC_SENDSLOW 7
-
- //
- // Close the current window
- //
- #define PC_CLOSEWINDOW 8
-
- //
- // Display text in the comment area
- //
- #define PC_DISPCOM 9
-
- //
- // Erase the comment area
- //
- #define PC_ERASECOM 10
-