home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / iffconverter / errortext.h < prev    next >
Text File  |  1997-01-07  |  2KB  |  67 lines

  1. /*
  2. **     $VER: ErrorText.h 0.01 (17-06-95)
  3. **
  4. **     Author:  Gerben Venekamp
  5. **     Updates: 17-02-95  Version 0.01
  6. **
  7. **  ErrorText.h contains strings of texts. These string are meant for
  8. **  use with the function 'DisplayError'.
  9. **
  10. */
  11.  
  12. char ESW_Title[]   = "What am I supposed to do";
  13. char ESW_PicInfo[] = "Picture Info";
  14.  
  15.  
  16. char EST_LockErr[]          = "I couldn't get a lock on\n%s";
  17. char EST_OpenLibErr[]       = "Sorry, I need %s.library V%ld+";
  18. char EST_OpenErr[]          = "I could not open %s";
  19. char EST_AllocErr[]         = "I could not allcoate\n%s for you";
  20. char EST_AllocMemErr[]      = "I could not allocate %ld bytes\nof memory for you";
  21. char EST_NoVisIErr[]        = "I could not get VisualInfo";
  22. char EST_NoIFFErr[]         = "File is not an IFF File";
  23. char EST_NoIFFILBMErr[]     = "%s\nis an IFF, but not IFF ILBM";
  24. char EST_Fail[]             = "%s failed";
  25. char EST_NotFound[]         = "%s not found";
  26. char EST_GadCreate[]        = "I could not create Gadget #%ld";
  27. char EST_AslNoFreeStore[]   = "Asl was unable to allocate enough memory";
  28. char EST_AslNoMoreEntries[] = "AslRequester could not be opened,\ndue to unavailable screenmode";
  29. char EST_NotImplemented[]   = "Function '%s'\nis not implemented.";
  30. char EST_FileExistsAsk[]    = "File %s\nalready exists.";
  31.  
  32. char ESG_RetryOverwriteCancel[] = "Retry|Overwrite|Cancel";
  33. char ESG_RetryCancel[]          = "Retry|Cancel";
  34. char ESG_Okay[]                 = "Okay";
  35.  
  36.  
  37. enum ErrorExitType {
  38.    Lib_Exit,
  39.    Clean_Exit,
  40.    No_Exit
  41. };
  42.  
  43.  
  44. APTR IFFerror__NULL_Title_Okay[] = {
  45.    NULL,
  46.    &ESW_Title,
  47.    &ESG_Okay
  48. };
  49.  
  50. APTR IFFerror__PanelWindow_Title_Okay[] = {
  51.    &PanelWindow,
  52.    &ESW_Title,
  53.    &ESG_Okay
  54. };
  55.  
  56. APTR IFFerror__PanelWindow_Title_RetryCancel[] = {
  57.    &PanelWindow,
  58.    &ESW_Title,
  59.    &ESG_RetryCancel
  60. };
  61.  
  62. APTR IFFerror__PanelWindow_Title_ROverwC[] = {
  63.    &PanelWindow,
  64.    &ESW_Title,
  65.    &ESG_RetryOverwriteCancel
  66. };
  67.