home *** CD-ROM | disk | FTP | other *** search
- #ifndef help_H
- #define help_H
-
- /* C header file for Help
- * written by DefMod (Jun 12 1995) on Mon Jun 12 17:40:31 1995
- * Written by Jonathan Coxhead, Acorn Computers Ltd
- */
-
- #ifndef types_H
- #include "types.h"
- #endif
-
- #ifndef os_H
- #include "os.h"
- #endif
-
- #ifndef wimp_H
- #include "wimp.h"
- #endif
-
- /************************************
- * Structure and union declarations *
- ************************************/
- typedef struct help_message_request help_message_request;
- typedef struct help_message_reply help_message_reply;
-
- /********************
- * Type definitions *
- ********************/
- /* ------------------------------------------------------------------------
- * Type: help_message_request
- *
- * Description: message type to request help from an application
- *
- * Fields: pos - mouse coordinates
- * buttons - mouse button state
- * w - window handle
- * i - icon handle
- */
-
- struct help_message_request
- { os_coord pos;
- wimp_mouse_state buttons;
- wimp_w w;
- wimp_i i;
- };
-
- /* ------------------------------------------------------------------------
- * Type: help_message_reply
- *
- * Description: message type to reply with help text
- *
- * Fields: reply - help message, 0-terminated
- */
-
- struct help_message_reply
- { char reply [236];
- };
-
- /************************
- * Constant definitions *
- ************************/
- #define message_HELP_REQUEST 0x502u
- #define message_HELP_REPLY 0x503u
-
- #endif
-