home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / programming / oslib / oslib_1 / OSLib / User / h / help < prev    next >
Encoding:
Text File  |  1995-06-12  |  1.5 KB  |  67 lines

  1. #ifndef help_H
  2. #define help_H
  3.  
  4. /* C header file for Help
  5.  * written by DefMod (Jun 12 1995) on Mon Jun 12 17:40:31 1995
  6.  * Written by Jonathan Coxhead, Acorn Computers Ltd
  7.  */
  8.  
  9. #ifndef types_H
  10. #include "types.h"
  11. #endif
  12.  
  13. #ifndef os_H
  14. #include "os.h"
  15. #endif
  16.  
  17. #ifndef wimp_H
  18. #include "wimp.h"
  19. #endif
  20.  
  21. /************************************
  22.  * Structure and union declarations *
  23.  ************************************/
  24. typedef struct help_message_request             help_message_request;
  25. typedef struct help_message_reply               help_message_reply;
  26.  
  27. /********************
  28.  * Type definitions *
  29.  ********************/
  30. /* ------------------------------------------------------------------------
  31.  * Type:          help_message_request
  32.  *
  33.  * Description:   message type to request help from an application
  34.  *
  35.  * Fields:        pos - mouse coordinates
  36.  *                buttons - mouse button state
  37.  *                w - window handle
  38.  *                i - icon handle
  39.  */
  40.  
  41. struct help_message_request
  42.    {  os_coord pos;
  43.       wimp_mouse_state buttons;
  44.       wimp_w w;
  45.       wimp_i i;
  46.    };
  47.  
  48. /* ------------------------------------------------------------------------
  49.  * Type:          help_message_reply
  50.  *
  51.  * Description:   message type to reply with help text
  52.  *
  53.  * Fields:        reply - help message, 0-terminated
  54.  */
  55.  
  56. struct help_message_reply
  57.    {  char reply [236];
  58.    };
  59.  
  60. /************************
  61.  * Constant definitions *
  62.  ************************/
  63. #define message_HELP_REQUEST                    0x502u
  64. #define message_HELP_REPLY                      0x503u
  65.  
  66. #endif
  67.