home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 2 / RISC_DISC_2.iso / pd_share / program / code / andylib / h / intalk < prev    next >
Encoding:
Text File  |  1995-02-06  |  714 b   |  44 lines

  1. /* intalk.h */
  2.  
  3. #ifndef __intalk_h
  4. #define __intalk_h
  5.  
  6. #include "wimp.h"
  7.  
  8. #define intalk_MESSAGEBASE 0x48180
  9.  
  10. enum
  11. {  intalk_MBALLOONSWITCH = intalk_MESSAGEBASE,
  12.    intalk_MBALLOONRQSTATE,
  13.    intalk_MBALLOONSTATEIS,
  14.    
  15.    intalk_MOPTIONSCHANGED,
  16.  
  17.    intalk_MCLIENTSERVER,
  18.  
  19.    intalk_MRETURNCODE
  20. };
  21.  
  22. typedef struct
  23. {  int show;
  24. } intalk_balloonswitch;
  25.  
  26. typedef struct
  27. {  int rc;
  28.    char progname[32];
  29. } intalk_returncode;
  30.  
  31. typedef struct
  32. {  wimp_msghdr hdr;
  33.    union
  34.    {  char chars[236];
  35.       int words[59];
  36.       intalk_balloonswitch balloonswitch;
  37.       intalk_balloonswitch balloonrqstate;
  38.       intalk_balloonswitch balloonstateis;
  39.       intalk_returncode    returncode;
  40.    } data;
  41. } intalk_msgstr;
  42.  
  43. #endif
  44.