home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / System / AsyncSysBeep / main.h < prev   
Encoding:
C/C++ Source or Header  |  1993-12-25  |  487 b   |  27 lines  |  [TEXT/KAHL]

  1. #ifndef    _MAIN_
  2. #define    _MAIN_
  3.  
  4.  
  5.  
  6.  
  7.  
  8. #define    GetTrapType(x)        (((x & 0x0800) > 0) ? ToolTrap : OSTrap)
  9. #define    sdVolume            0x0260
  10. #define    WWExist                0x08F2
  11. #define    ExpandMem            0x02B6
  12.  
  13.  
  14.  
  15.  
  16.  
  17. void main(void);
  18. pascal void MySysBeep(short duration);
  19. void DoSysBeep(short beepRsrcID);
  20. void LoadNewSysBeep(short beepRsrcID);
  21. void JunkOldSysBeep(void);
  22. Byte GetResLoad(void) = {0x1038,0x0A5E};
  23. pascal void SndPlayCompletion(SndChannelPtr chan,SndCommand cmd);
  24. pascal void MySystemTask(void);
  25.  
  26.  
  27. #endif