home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 1 / Mecomp-CD.iso / amiga / tools / system / shutdown / shutdown.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-25  |  3.9 KB  |  141 lines

  1. #ifndef SHUTDOWN_H
  2. #define SHUTDOWN_H
  3.  
  4.  
  5. /****************************************************************************/
  6.  
  7.  
  8. /* This file was created automatically by CatComp.
  9.  * Do NOT edit by hand!
  10.  */
  11.  
  12.  
  13. #ifndef EXEC_TYPES_H
  14. #include <exec/types.h>
  15. #endif
  16.  
  17.  
  18. /****************************************************************************/
  19.  
  20.  
  21. #define MSG_HEADER_TXT 0
  22. #define MSG_HEADER_TXT_STR "%s © Copyright by Olaf Barthel, all rights reserved.\n"
  23.  
  24. #define MSG_REMOVING_TXT 1
  25. #define MSG_REMOVING_TXT_STR "Removing monitoring tasks... "
  26.  
  27. #define MSG_INSTALLING_TXT 2
  28. #define MSG_INSTALLING_TXT_STR "Installing monitoring tasks... "
  29.  
  30. #define MSG_TASKNAME_NAME 3
  31. #define MSG_TASKNAME_NAME_STR "« File monitor »"
  32.  
  33. #define MSG_DEVTASKNAME_NAME 4
  34. #define MSG_DEVTASKNAME_NAME_STR "« Device monitor »"
  35.  
  36. #define MSG_DONE_TXT 5
  37. #define MSG_DONE_TXT_STR "done.\n"
  38.  
  39. #define MSG_FAILED_TXT 6
  40. #define MSG_FAILED_TXT_STR "failed!\a\n"
  41.  
  42. #define MSG_OPENFAIL_TXT 7
  43. #define MSG_OPENFAIL_TXT_STR "Could not open \"%s\"!\a\n"
  44.  
  45. #define MSG_TURNOFF_TXT 8
  46. #define MSG_TURNOFF_TXT_STR "You may now turn off your Amiga"
  47.  
  48. #define MSG_WAIT_A_MINUTE_TXT 9
  49. #define MSG_WAIT_A_MINUTE_TXT_STR "Wait a minute... devices are still busy"
  50.  
  51. #define MSG_RETURN_TXT 10
  52. #define MSG_RETURN_TXT_STR "Return to _Workbench"
  53.  
  54. #define MSG_RESTART_TXT 11
  55. #define MSG_RESTART_TXT_STR "_Restart the Amiga"
  56.  
  57. #define MSG_RETURN_SHORTCUT 12
  58. #define MSG_RETURN_SHORTCUT_STR "W"
  59.  
  60. #define MSG_RESTART_SHORTCUT 13
  61. #define MSG_RESTART_SHORTCUT_STR "R"
  62.  
  63. #define MSG_FILESOPEN1_TXT 14
  64. #define MSG_FILESOPEN1_TXT_STR "Stop! This file is still open"
  65.  
  66. #define MSG_FILESOPEN2_TXT 15
  67. #define MSG_FILESOPEN2_TXT_STR "Stop! These files are still open"
  68.  
  69. #define MSG_WORKING1_TXT 16
  70. #define MSG_WORKING1_TXT_STR "Stop! This program is still busy"
  71.  
  72. #define MSG_WORKING2_TXT 17
  73. #define MSG_WORKING2_TXT_STR "Stop! These programs are still busy"
  74.  
  75. #define MSG_RESET_TXT 18
  76. #define MSG_RESET_TXT_STR "Restarting..."
  77.  
  78. #define MSG_BROKERNAME_TXT 19
  79. #define MSG_BROKERNAME_TXT_STR "« Restart »"
  80.  
  81. #define MSG_BROKERTITLE_TXT 20
  82. #define MSG_BROKERTITLE_TXT_STR "Restart"
  83.  
  84. #define MSG_BROKERDESCRIPTION_TXT 21
  85. #define MSG_BROKERDESCRIPTION_TXT_STR "Restarts the Amiga"
  86.  
  87. #define MSG_PROCESS_CREATION_FAILED_TXT 22
  88. #define MSG_PROCESS_CREATION_FAILED_TXT_STR "failed (could not install file monitor)!\a\n"
  89.  
  90. #define MSG_HOTKEYS_FAILED_TXT 23
  91. #define MSG_HOTKEYS_FAILED_TXT_STR "failed (could not install keyboard handler, error code #%ld)!\a\n"
  92.  
  93.  
  94. /****************************************************************************/
  95.  
  96.  
  97. #ifdef STRINGARRAY
  98.  
  99. struct AppString
  100. {
  101.     LONG   as_ID;
  102.     STRPTR as_Str;
  103. };
  104.  
  105. struct AppString AppStrings[] =
  106. {
  107.     {MSG_HEADER_TXT,MSG_HEADER_TXT_STR},
  108.     {MSG_REMOVING_TXT,MSG_REMOVING_TXT_STR},
  109.     {MSG_INSTALLING_TXT,MSG_INSTALLING_TXT_STR},
  110.     {MSG_TASKNAME_NAME,MSG_TASKNAME_NAME_STR},
  111.     {MSG_DEVTASKNAME_NAME,MSG_DEVTASKNAME_NAME_STR},
  112.     {MSG_DONE_TXT,MSG_DONE_TXT_STR},
  113.     {MSG_FAILED_TXT,MSG_FAILED_TXT_STR},
  114.     {MSG_OPENFAIL_TXT,MSG_OPENFAIL_TXT_STR},
  115.     {MSG_TURNOFF_TXT,MSG_TURNOFF_TXT_STR},
  116.     {MSG_WAIT_A_MINUTE_TXT,MSG_WAIT_A_MINUTE_TXT_STR},
  117.     {MSG_RETURN_TXT,MSG_RETURN_TXT_STR},
  118.     {MSG_RESTART_TXT,MSG_RESTART_TXT_STR},
  119.     {MSG_RETURN_SHORTCUT,MSG_RETURN_SHORTCUT_STR},
  120.     {MSG_RESTART_SHORTCUT,MSG_RESTART_SHORTCUT_STR},
  121.     {MSG_FILESOPEN1_TXT,MSG_FILESOPEN1_TXT_STR},
  122.     {MSG_FILESOPEN2_TXT,MSG_FILESOPEN2_TXT_STR},
  123.     {MSG_WORKING1_TXT,MSG_WORKING1_TXT_STR},
  124.     {MSG_WORKING2_TXT,MSG_WORKING2_TXT_STR},
  125.     {MSG_RESET_TXT,MSG_RESET_TXT_STR},
  126.     {MSG_BROKERNAME_TXT,MSG_BROKERNAME_TXT_STR},
  127.     {MSG_BROKERTITLE_TXT,MSG_BROKERTITLE_TXT_STR},
  128.     {MSG_BROKERDESCRIPTION_TXT,MSG_BROKERDESCRIPTION_TXT_STR},
  129.     {MSG_PROCESS_CREATION_FAILED_TXT,MSG_PROCESS_CREATION_FAILED_TXT_STR},
  130.     {MSG_HOTKEYS_FAILED_TXT,MSG_HOTKEYS_FAILED_TXT_STR},
  131. };
  132.  
  133.  
  134. #endif /* STRINGARRAY */
  135.  
  136.  
  137. /****************************************************************************/
  138.  
  139.  
  140. #endif /* SHUTDOWN_H */
  141.