home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 109 / EnigmaAmiga109CD.iso / software / on-line / amster / src / mui.h < prev    next >
C/C++ Source or Header  |  2000-01-21  |  668b  |  33 lines

  1. /*
  2. ** MUI Header
  3. */
  4.  
  5. #include <proto/exec.h>
  6. #include <proto/utility.h>
  7. #include <proto/intuition.h>
  8. #include <proto/muimaster.h>
  9. #include <libraries/mui.h>
  10. #include <clib/alib_protos.h>
  11.  
  12. #ifndef PALPA_MUI_H
  13. #define PALPA_MUI_H
  14.  
  15. #define MAKE_ID(a,b,c,d) ((ULONG) (a)<<24 | (ULONG) (b)<<16 | (ULONG) (c)<<8 | (ULONG) (d))
  16. #define REG(x) register __ ## x
  17. #define MUIF __saveds ULONG __asm
  18.  
  19. #define TOMENUTEXT(TXT) ( (char *)(((unsigned long)TXT)+2L) )
  20.  
  21. ULONG __stdargs DoSuperNew(struct IClass *cl,Object *obj,ULONG tag1,...);
  22.  
  23. typedef struct muimsg_struct {
  24.     ULONG MethodID;
  25.     ULONG *arg1;
  26.     ULONG *arg2;
  27.     ULONG *arg3;
  28.     ULONG *arg4;
  29. } *muimsg;
  30.  
  31.  
  32. #endif    /* PALPA_MUI_H */
  33.