home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / Pascal / Snippets / PNL Libraries / Libraries / SpriteWorld / SpriteWorld files / Utils C / SWApplication.h < prev    next >
Encoding:
Text File  |  1996-10-24  |  1.1 KB  |  45 lines  |  [TEXT/KAHL]

  1. ///--------------------------------------------------------------------------------------
  2. //    SWApplication.h
  3. //
  4. //    Created:    Sunday, April 11, 1993
  5. //    By:        Tony Myles
  6. //
  7. //    Copyright: © 1993 Tony Myles, All rights reserved worldwide.
  8. ///--------------------------------------------------------------------------------------
  9.  
  10.  
  11. #ifndef __SWAPPLICATION__
  12. #define __SWAPPLICATION__
  13.  
  14.  
  15. #define kNumberOfMoreMastersCalls        3
  16. #define kWindowResID                            128
  17.  
  18. #define kErrorAlertResID                    128
  19. #define kCantRunAlertResID                    129
  20. #define kErrorStringListResID                128
  21. #define kFatalErrorStringIndex            1
  22. #define kCantFindResourceStringIndex    2
  23. #define kOutOfMemStringIndex                3
  24.  
  25. #define kSeriousDamageString "\pCould not even get error string!\rThis application is seriously damaged!"
  26.  
  27.  
  28. #ifdef __cplusplus
  29. extern "C" {
  30. #endif
  31.  
  32.  
  33. pascal void    Initialize(short numberOfMasters);
  34. pascal void    ErrorAlert(OSErr err, short errorStringIndex);
  35. pascal void    FatalError(OSErr err);
  36. pascal void    CantFindResource(void);
  37. pascal void    CantRunOnThisMachine(void);
  38.  
  39.  
  40. #ifdef __cplusplus
  41. }
  42. #endif
  43.  
  44.  
  45. #endif /* __SWAPPLICATION__ */