home *** CD-ROM | disk | FTP | other *** search
/ Amiga Games 1996 October / Amiga_Games_Extra_CD_10-96.bin / userbox / publicdomain / grabkey / source / include / gk_locale.h < prev    next >
C/C++ Source or Header  |  1996-07-02  |  6KB  |  174 lines

  1. #ifndef LOCALE_GRABKEY_H
  2. #define LOCALE_GRABKEY_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. #ifdef CATCOMP_ARRAY
  18. #undef CATCOMP_NUMBERS
  19. #undef CATCOMP_STRINGS
  20. #define CATCOMP_NUMBERS
  21. #define CATCOMP_STRINGS
  22. #endif
  23.  
  24. #ifdef CATCOMP_BLOCK
  25. #undef CATCOMP_STRINGS
  26. #define CATCOMP_STRINGS
  27. #endif
  28.  
  29.  
  30. /****************************************************************************/
  31.  
  32.  
  33. #ifdef CATCOMP_NUMBERS
  34.  
  35. #define MSG_GUI_SAVE 0
  36. #define MSG_GUI_CANCEL 1
  37. #define MSG_GUI_HIDE 2
  38. #define MSG_GUI_QUIT 3
  39. #define MSG_GUI_MEN_SAVE 4
  40. #define MSG_GUI_MEN_ABOUT 5
  41. #define MSG_GUI_MEN_QUIT 6
  42. #define MSG_GUI_PAGE_HOTKEYS 7
  43. #define MSG_GUI_PAGE_NOTIFY 8
  44. #define MSG_GUI_PAGE_SAVE 9
  45. #define MSG_GUI_PAGE_HOTKEYS_WINDOW 10
  46. #define MSG_GUI_PAGE_HOTKEYS_SCREEN 11
  47. #define MSG_GUI_PAGE_HOTKEYS_SAVE 12
  48. #define MSG_GUI_PAGE_HOTKEYS_CLIP 13
  49. #define MSG_GUI_PAGE_HOTKEYS_PRINT 14
  50. #define MSG_GUI_PAGE_NOTIFY_START 15
  51. #define MSG_GUI_PAGE_NOTIFY_DONE 16
  52. #define MSG_GUI_PAGE_NOTIFY_ERROR 17
  53. #define MSG_GUI_PAGE_SAVE_FILE 18
  54. #define MSG_GUI_PAGE_SAVE_COUNT 19
  55. #define MSG_GUI_PAGE_SAVE_ICON 20
  56. #define MSG_GUI_SELECT_FILE 21
  57. #define MSG_ERR_GUI_MEN_NOMEM 22
  58. #define MSG_ERR_GUI_MEN_TRIMMED 23
  59. #define MSG_ERR_GUI_MEN_INVALID 24
  60. #define MSG_ERR_ERROR 25
  61. #define MSG_ERR_GETIMAGE 26
  62. #define MSG_ERR_OPENWINDOW 27
  63. #define MSG_ERR_OUT_OF_MEMORY 28
  64. #define MSG_ERR_SAVE_CLIPBOARD 29
  65. #define MSG_ERR_SAVE_FILE 30
  66. #define MSG_CX_INFO 31
  67.  
  68. #endif /* CATCOMP_NUMBERS */
  69.  
  70.  
  71. /****************************************************************************/
  72.  
  73.  
  74. #ifdef CATCOMP_STRINGS
  75.  
  76. #define MSG_GUI_SAVE_STR "Save"
  77. #define MSG_GUI_CANCEL_STR "Cancel"
  78. #define MSG_GUI_HIDE_STR "Hide"
  79. #define MSG_GUI_QUIT_STR "Quit"
  80. #define MSG_GUI_MEN_SAVE_STR "S\0Save ..."
  81. #define MSG_GUI_MEN_ABOUT_STR "?\0About ..."
  82. #define MSG_GUI_MEN_QUIT_STR "Q\0Quit"
  83. #define MSG_GUI_PAGE_HOTKEYS_STR "Hotkeys"
  84. #define MSG_GUI_PAGE_NOTIFY_STR "Notify"
  85. #define MSG_GUI_PAGE_SAVE_STR "Save"
  86. #define MSG_GUI_PAGE_HOTKEYS_WINDOW_STR "Active Window"
  87. #define MSG_GUI_PAGE_HOTKEYS_SCREEN_STR "Active Screen"
  88. #define MSG_GUI_PAGE_HOTKEYS_SAVE_STR "Save key"
  89. #define MSG_GUI_PAGE_HOTKEYS_CLIP_STR "Clipoard key"
  90. #define MSG_GUI_PAGE_HOTKEYS_PRINT_STR "Print key"
  91. #define MSG_GUI_PAGE_NOTIFY_START_STR "Start sound"
  92. #define MSG_GUI_PAGE_NOTIFY_DONE_STR "Done sound"
  93. #define MSG_GUI_PAGE_NOTIFY_ERROR_STR "Error sound"
  94. #define MSG_GUI_PAGE_SAVE_FILE_STR "Save as"
  95. #define MSG_GUI_PAGE_SAVE_COUNT_STR "Count files"
  96. #define MSG_GUI_PAGE_SAVE_ICON_STR "Save icon"
  97. #define MSG_GUI_SELECT_FILE_STR "Select File"
  98. #define MSG_ERR_GUI_MEN_NOMEM_STR "Out of memory !\nFailed to create menu !"
  99. #define MSG_ERR_GUI_MEN_TRIMMED_STR "Too many menus, items or subitems !\nMenu has been trimmed down."
  100. #define MSG_ERR_GUI_MEN_INVALID_STR "Failed to create menu !"
  101. #define MSG_ERR_ERROR_STR "Error"
  102. #define MSG_ERR_GETIMAGE_STR "Failed to get grab image !"
  103. #define MSG_ERR_OPENWINDOW_STR "Failed to open window !"
  104. #define MSG_ERR_OUT_OF_MEMORY_STR "Out of memory !"
  105. #define MSG_ERR_SAVE_CLIPBOARD_STR "Failed to save to clipboard !"
  106. #define MSG_ERR_SAVE_FILE_STR "Failed to save to %s !"
  107. #define MSG_CX_INFO_STR "Window & Screen grabber"
  108.  
  109. #endif /* CATCOMP_STRINGS */
  110.  
  111.  
  112. /****************************************************************************/
  113.  
  114.  
  115. #ifdef CATCOMP_ARRAY
  116.  
  117. struct CatCompArrayType
  118. {
  119.     LONG   cca_ID;
  120.     STRPTR cca_Str;
  121. };
  122.  
  123. static const struct CatCompArrayType CatCompArray[] =
  124. {
  125.     {MSG_GUI_SAVE,(STRPTR)MSG_GUI_SAVE_STR},
  126.     {MSG_GUI_CANCEL,(STRPTR)MSG_GUI_CANCEL_STR},
  127.     {MSG_GUI_HIDE,(STRPTR)MSG_GUI_HIDE_STR},
  128.     {MSG_GUI_QUIT,(STRPTR)MSG_GUI_QUIT_STR},
  129.     {MSG_GUI_MEN_SAVE,(STRPTR)MSG_GUI_MEN_SAVE_STR},
  130.     {MSG_GUI_MEN_ABOUT,(STRPTR)MSG_GUI_MEN_ABOUT_STR},
  131.     {MSG_GUI_MEN_QUIT,(STRPTR)MSG_GUI_MEN_QUIT_STR},
  132.     {MSG_GUI_PAGE_HOTKEYS,(STRPTR)MSG_GUI_PAGE_HOTKEYS_STR},
  133.     {MSG_GUI_PAGE_NOTIFY,(STRPTR)MSG_GUI_PAGE_NOTIFY_STR},
  134.     {MSG_GUI_PAGE_SAVE,(STRPTR)MSG_GUI_PAGE_SAVE_STR},
  135.     {MSG_GUI_PAGE_HOTKEYS_WINDOW,(STRPTR)MSG_GUI_PAGE_HOTKEYS_WINDOW_STR},
  136.     {MSG_GUI_PAGE_HOTKEYS_SCREEN,(STRPTR)MSG_GUI_PAGE_HOTKEYS_SCREEN_STR},
  137.     {MSG_GUI_PAGE_HOTKEYS_SAVE,(STRPTR)MSG_GUI_PAGE_HOTKEYS_SAVE_STR},
  138.     {MSG_GUI_PAGE_HOTKEYS_CLIP,(STRPTR)MSG_GUI_PAGE_HOTKEYS_CLIP_STR},
  139.     {MSG_GUI_PAGE_HOTKEYS_PRINT,(STRPTR)MSG_GUI_PAGE_HOTKEYS_PRINT_STR},
  140.     {MSG_GUI_PAGE_NOTIFY_START,(STRPTR)MSG_GUI_PAGE_NOTIFY_START_STR},
  141.     {MSG_GUI_PAGE_NOTIFY_DONE,(STRPTR)MSG_GUI_PAGE_NOTIFY_DONE_STR},
  142.     {MSG_GUI_PAGE_NOTIFY_ERROR,(STRPTR)MSG_GUI_PAGE_NOTIFY_ERROR_STR},
  143.     {MSG_GUI_PAGE_SAVE_FILE,(STRPTR)MSG_GUI_PAGE_SAVE_FILE_STR},
  144.     {MSG_GUI_PAGE_SAVE_COUNT,(STRPTR)MSG_GUI_PAGE_SAVE_COUNT_STR},
  145.     {MSG_GUI_PAGE_SAVE_ICON,(STRPTR)MSG_GUI_PAGE_SAVE_ICON_STR},
  146.     {MSG_GUI_SELECT_FILE,(STRPTR)MSG_GUI_SELECT_FILE_STR},
  147.     {MSG_ERR_GUI_MEN_NOMEM,(STRPTR)MSG_ERR_GUI_MEN_NOMEM_STR},
  148.     {MSG_ERR_GUI_MEN_TRIMMED,(STRPTR)MSG_ERR_GUI_MEN_TRIMMED_STR},
  149.     {MSG_ERR_GUI_MEN_INVALID,(STRPTR)MSG_ERR_GUI_MEN_INVALID_STR},
  150.     {MSG_ERR_ERROR,(STRPTR)MSG_ERR_ERROR_STR},
  151.     {MSG_ERR_GETIMAGE,(STRPTR)MSG_ERR_GETIMAGE_STR},
  152.     {MSG_ERR_OPENWINDOW,(STRPTR)MSG_ERR_OPENWINDOW_STR},
  153.     {MSG_ERR_OUT_OF_MEMORY,(STRPTR)MSG_ERR_OUT_OF_MEMORY_STR},
  154.     {MSG_ERR_SAVE_CLIPBOARD,(STRPTR)MSG_ERR_SAVE_CLIPBOARD_STR},
  155.     {MSG_ERR_SAVE_FILE,(STRPTR)MSG_ERR_SAVE_FILE_STR},
  156.     {MSG_CX_INFO,(STRPTR)MSG_CX_INFO_STR},
  157. };
  158.  
  159. #endif /* CATCOMP_ARRAY */
  160.  
  161.  
  162. /****************************************************************************/
  163.  
  164.  
  165. struct LocaleInfo
  166. {
  167.     APTR li_LocaleBase;
  168.     APTR li_Catalog;
  169. };
  170.  
  171.  
  172.  
  173. #endif /* LOCALE_GRABKEY_H */
  174.