4 /* This file was created automatically by CatComp.
9 #include <exec/types.h>
13 #ifndef CATCOMP_NUMBERS
14 #define CATCOMP_NUMBERS
16 #ifndef CATCOMP_STRINGS
17 #define CATCOMP_STRINGS
22 #ifndef CATCOMP_STRINGS
23 #define CATCOMP_STRINGS
27 #ifdef CATCOMP_NUMBERS
29 #define MSG_UNIT_LBL 0
30 #define MSG_DEVICE_LBL 1
31 #define MSG_FILENAME_LBL 2
32 #define MSG_WRITEPROTECT_LBL 3
34 #define MSG_APPDESCRIPTION 5
35 #define MSG_PRIORITY_LBL 50
36 #define MSG_PLUGIN_LBL 51
37 #define MSG_PLUGIN_GAD 52
38 #define MSG_AUTO_LBL 53
39 #define MSG_WRITESUPPORT_LBL 54
40 #define MSG_PROJECT_ABOUT 100
41 #define MSG_PROJECT_HIDE 101
42 #define MSG_PROJECT_ICONIFY 102
43 #define MSG_PROJECT_SNAPSHOT 103
44 #define MSG_PROJECT_QUIT 104
45 #define MSG_SETTINGS_MENU 105
46 #define MSG_SETTINGS_CHANGETEMPDIR 106
47 #define MSG_SETTINGS_SAVE 107
48 #define MSG_SETTINGS_PLUGINS 108
49 #define MSG_PROJECT_CLOSE 109
50 #define MSG_OK_GAD 200
51 #define MSG_ABOUT_REQ 201
53 #define MSG_NOAISS_REQ 203
54 #define MSG_OLDAISS_REQ 204
55 #define MSG_IMAGENOTFOUND_REQ 205
56 #define MSG_CANCEL_GAD 206
57 #define MSG_SAVE_GAD 207
58 #define MSG_USE_GAD 208
59 #define MSG_INSERT_GAD 300
60 #define MSG_EJECT_GAD 301
61 #define MSG_WRITEPROTECT_GAD 302
62 #define MSG_REFRESH_GAD 303
63 #define MSG_PLUGINS_WND 304
64 #define MSG_MAIN_WND 305
65 #define MSG_ABOUT_WND 306
66 #define MSG_ERROR_WND 307
67 #define MSG_SETDEVICETYPE_GAD 308
68 #define MSG_SETDEVICETYPE_WND 309
69 #define MSG_DEVICETYPE_GAD 310
70 #define MSG_DEVICETYPE_DIRECT_ACCESS 311
71 #define MSG_DEVICETYPE_CDROM 312
72 #define MSG_DEVICETYPE_OPTICAL_DISK 313
73 #define MSG_PLUGIN_BUILTIN 400
77 #ifdef CATCOMP_STRINGS
79 #define MSG_UNIT_LBL_STR "Unit"
80 #define MSG_DEVICE_LBL_STR "Device"
81 #define MSG_FILENAME_LBL_STR "Disk Image"
82 #define MSG_WRITEPROTECT_LBL_STR "WP"
83 #define MSG_NO_DISK_STR "No disk present"
84 #define MSG_APPDESCRIPTION_STR "Control GUI for diskimage.device"
85 #define MSG_PRIORITY_LBL_STR "Pri"
86 #define MSG_PLUGIN_LBL_STR "Plugin"
87 #define MSG_PLUGIN_GAD_STR "Use plugin"
88 #define MSG_AUTO_LBL_STR "(Auto)"
89 #define MSG_WRITESUPPORT_LBL_STR "W"
90 #define MSG_PROJECT_ABOUT_STR "About..."
91 #define MSG_PROJECT_HIDE_STR "Hide"
92 #define MSG_PROJECT_ICONIFY_STR "Iconify"
93 #define MSG_PROJECT_SNAPSHOT_STR "Snapshot"
94 #define MSG_PROJECT_QUIT_STR "Quit"
95 #define MSG_SETTINGS_MENU_STR "Settings"
96 #define MSG_SETTINGS_CHANGETEMPDIR_STR "Change temp directory..."
97 #define MSG_SETTINGS_SAVE_STR "Save settings"
98 #define MSG_SETTINGS_PLUGINS_STR "Plugins..."
99 #define MSG_PROJECT_CLOSE_STR "Close"
100 #define MSG_OK_GAD_STR "Ok"
101 #define MSG_ABOUT_REQ_STR "%s version %ld.%ld\n%s version %ld.%ld\n\nCopyright © 2007-2010 Fredrik Wikstrom\nWebsite: http://a500.org\nE-mail: fredrik@a500.org"
102 #define MSG_ERROR_STR "Error"
103 #define MSG_NOAISS_REQ_STR "AISS assign not found.\n\nDownload and install the latest version\nfrom here: http://masonicons.de"
104 #define MSG_OLDAISS_REQ_STR "AISS v%ld.%ld or newer required.\n\nDownload and install the latest version\nfrom here: http://masonicons.de"
105 #define MSG_IMAGENOTFOUND_REQ_STR "Image file '%s' not found."
106 #define MSG_CANCEL_GAD_STR "_Cancel"
107 #define MSG_SAVE_GAD_STR "_Save"
108 #define MSG_USE_GAD_STR "_Use"
109 #define MSG_INSERT_GAD_STR "Insert"
110 #define MSG_EJECT_GAD_STR "Eject"
111 #define MSG_WRITEPROTECT_GAD_STR "Write Protect"
112 #define MSG_REFRESH_GAD_STR "Refresh"
113 #define MSG_PLUGINS_WND_STR "Plugins"
114 #define MSG_MAIN_WND_STR "%s: Hot Key = <%s>"
115 #define MSG_ABOUT_WND_STR "About - %s"
116 #define MSG_ERROR_WND_STR "Error - %s"
117 #define MSG_SETDEVICETYPE_GAD_STR "Set Device Type"
118 #define MSG_SETDEVICETYPE_WND_STR "Unit: %ld - Device Type"
119 #define MSG_DEVICETYPE_GAD_STR "Device Type"
120 #define MSG_DEVICETYPE_DIRECT_ACCESS_STR "Direct Access (Default setting)"
121 #define MSG_DEVICETYPE_CDROM_STR "CD-ROM"
122 #define MSG_DEVICETYPE_OPTICAL_DISK_STR "Optical Disk"
123 #define MSG_PLUGIN_BUILTIN_STR "%s (builtin)"
128 struct CatCompArrayType
131 CONST_STRPTR cca_Str
;
134 STATIC CONST
struct CatCompArrayType CatCompArray
[] =
136 {MSG_UNIT_LBL
,(CONST_STRPTR
)MSG_UNIT_LBL_STR
},
137 {MSG_DEVICE_LBL
,(CONST_STRPTR
)MSG_DEVICE_LBL_STR
},
138 {MSG_FILENAME_LBL
,(CONST_STRPTR
)MSG_FILENAME_LBL_STR
},
139 {MSG_WRITEPROTECT_LBL
,(CONST_STRPTR
)MSG_WRITEPROTECT_LBL_STR
},
140 {MSG_NO_DISK
,(CONST_STRPTR
)MSG_NO_DISK_STR
},
141 {MSG_APPDESCRIPTION
,(CONST_STRPTR
)MSG_APPDESCRIPTION_STR
},
142 {MSG_PRIORITY_LBL
,(CONST_STRPTR
)MSG_PRIORITY_LBL_STR
},
143 {MSG_PLUGIN_LBL
,(CONST_STRPTR
)MSG_PLUGIN_LBL_STR
},
144 {MSG_PLUGIN_GAD
,(CONST_STRPTR
)MSG_PLUGIN_GAD_STR
},
145 {MSG_AUTO_LBL
,(CONST_STRPTR
)MSG_AUTO_LBL_STR
},
146 {MSG_WRITESUPPORT_LBL
,(CONST_STRPTR
)MSG_WRITESUPPORT_LBL_STR
},
147 {MSG_PROJECT_ABOUT
,(CONST_STRPTR
)MSG_PROJECT_ABOUT_STR
},
148 {MSG_PROJECT_HIDE
,(CONST_STRPTR
)MSG_PROJECT_HIDE_STR
},
149 {MSG_PROJECT_ICONIFY
,(CONST_STRPTR
)MSG_PROJECT_ICONIFY_STR
},
150 {MSG_PROJECT_SNAPSHOT
,(CONST_STRPTR
)MSG_PROJECT_SNAPSHOT_STR
},
151 {MSG_PROJECT_QUIT
,(CONST_STRPTR
)MSG_PROJECT_QUIT_STR
},
152 {MSG_SETTINGS_MENU
,(CONST_STRPTR
)MSG_SETTINGS_MENU_STR
},
153 {MSG_SETTINGS_CHANGETEMPDIR
,(CONST_STRPTR
)MSG_SETTINGS_CHANGETEMPDIR_STR
},
154 {MSG_SETTINGS_SAVE
,(CONST_STRPTR
)MSG_SETTINGS_SAVE_STR
},
155 {MSG_SETTINGS_PLUGINS
,(CONST_STRPTR
)MSG_SETTINGS_PLUGINS_STR
},
156 {MSG_PROJECT_CLOSE
,(CONST_STRPTR
)MSG_PROJECT_CLOSE_STR
},
157 {MSG_OK_GAD
,(CONST_STRPTR
)MSG_OK_GAD_STR
},
158 {MSG_ABOUT_REQ
,(CONST_STRPTR
)MSG_ABOUT_REQ_STR
},
159 {MSG_ERROR
,(CONST_STRPTR
)MSG_ERROR_STR
},
160 {MSG_NOAISS_REQ
,(CONST_STRPTR
)MSG_NOAISS_REQ_STR
},
161 {MSG_OLDAISS_REQ
,(CONST_STRPTR
)MSG_OLDAISS_REQ_STR
},
162 {MSG_IMAGENOTFOUND_REQ
,(CONST_STRPTR
)MSG_IMAGENOTFOUND_REQ_STR
},
163 {MSG_CANCEL_GAD
,(CONST_STRPTR
)MSG_CANCEL_GAD_STR
},
164 {MSG_SAVE_GAD
,(CONST_STRPTR
)MSG_SAVE_GAD_STR
},
165 {MSG_USE_GAD
,(CONST_STRPTR
)MSG_USE_GAD_STR
},
166 {MSG_INSERT_GAD
,(CONST_STRPTR
)MSG_INSERT_GAD_STR
},
167 {MSG_EJECT_GAD
,(CONST_STRPTR
)MSG_EJECT_GAD_STR
},
168 {MSG_WRITEPROTECT_GAD
,(CONST_STRPTR
)MSG_WRITEPROTECT_GAD_STR
},
169 {MSG_REFRESH_GAD
,(CONST_STRPTR
)MSG_REFRESH_GAD_STR
},
170 {MSG_PLUGINS_WND
,(CONST_STRPTR
)MSG_PLUGINS_WND_STR
},
171 {MSG_MAIN_WND
,(CONST_STRPTR
)MSG_MAIN_WND_STR
},
172 {MSG_ABOUT_WND
,(CONST_STRPTR
)MSG_ABOUT_WND_STR
},
173 {MSG_ERROR_WND
,(CONST_STRPTR
)MSG_ERROR_WND_STR
},
174 {MSG_SETDEVICETYPE_GAD
,(CONST_STRPTR
)MSG_SETDEVICETYPE_GAD_STR
},
175 {MSG_SETDEVICETYPE_WND
,(CONST_STRPTR
)MSG_SETDEVICETYPE_WND_STR
},
176 {MSG_DEVICETYPE_GAD
,(CONST_STRPTR
)MSG_DEVICETYPE_GAD_STR
},
177 {MSG_DEVICETYPE_DIRECT_ACCESS
,(CONST_STRPTR
)MSG_DEVICETYPE_DIRECT_ACCESS_STR
},
178 {MSG_DEVICETYPE_CDROM
,(CONST_STRPTR
)MSG_DEVICETYPE_CDROM_STR
},
179 {MSG_DEVICETYPE_OPTICAL_DISK
,(CONST_STRPTR
)MSG_DEVICETYPE_OPTICAL_DISK_STR
},
180 {MSG_PLUGIN_BUILTIN
,(CONST_TRPTR
)MSG_PLUGIN_BUILTIN_STR
},
188 STATIC CONST UBYTE CatCompBlock
[] =
190 "\x00\x00\x00\x00\x00\x06"
191 MSG_UNIT_LBL_STR
"\x00\x00"
192 "\x00\x00\x00\x01\x00\x08"
193 MSG_DEVICE_LBL_STR
"\x00\x00"
194 "\x00\x00\x00\x02\x00\x0C"
195 MSG_FILENAME_LBL_STR
"\x00\x00"
196 "\x00\x00\x00\x03\x00\x04"
197 MSG_WRITEPROTECT_LBL_STR
"\x00\x00"
198 "\x00\x00\x00\x04\x00\x10"
199 MSG_NO_DISK_STR
"\x00"
200 "\x00\x00\x00\x05\x00\x22"
201 MSG_APPDESCRIPTION_STR
"\x00\x00"
202 "\x00\x00\x00\x32\x00\x04"
203 MSG_PRIORITY_LBL_STR
"\x00"
204 "\x00\x00\x00\x33\x00\x08"
205 MSG_PLUGIN_LBL_STR
"\x00\x00"
206 "\x00\x00\x00\x34\x00\x0C"
207 MSG_PLUGIN_GAD_STR
"\x00\x00"
208 "\x00\x00\x00\x35\x00\x08"
209 MSG_AUTO_LBL_STR
"\x00\x00"
210 "\x00\x00\x00\x36\x00\x02"
211 MSG_WRITESUPPORT_LBL_STR
"\x00"
212 "\x00\x00\x00\x64\x00\x0A"
213 MSG_PROJECT_ABOUT_STR
"\x00\x00"
214 "\x00\x00\x00\x65\x00\x06"
215 MSG_PROJECT_HIDE_STR
"\x00\x00"
216 "\x00\x00\x00\x66\x00\x08"
217 MSG_PROJECT_ICONIFY_STR
"\x00"
218 "\x00\x00\x00\x67\x00\x0A"
219 MSG_PROJECT_SNAPSHOT_STR
"\x00\x00"
220 "\x00\x00\x00\x68\x00\x06"
221 MSG_PROJECT_QUIT_STR
"\x00\x00"
222 "\x00\x00\x00\x69\x00\x0A"
223 MSG_SETTINGS_MENU_STR
"\x00\x00"
224 "\x00\x00\x00\x6A\x00\x1A"
225 MSG_SETTINGS_CHANGETEMPDIR_STR
"\x00\x00"
226 "\x00\x00\x00\x6B\x00\x0E"
227 MSG_SETTINGS_SAVE_STR
"\x00"
228 "\x00\x00\x00\x6C\x00\x0C"
229 MSG_SETTINGS_PLUGINS_STR
"\x00\x00"
230 "\x00\x00\x00\x6D\x00\x06"
231 MSG_PROJECT_CLOSE_STR
"\x00"
232 "\x00\x00\x00\xC8\x00\x04"
233 MSG_OK_GAD_STR
"\x00\x00"
234 "\x00\x00\x00\xC9\x00\x80"
235 MSG_ABOUT_REQ_STR
"\x00"
236 "\x00\x00\x00\xCA\x00\x06"
238 "\x00\x00\x00\xCB\x00\x60"
239 MSG_NOAISS_REQ_STR
"\x00"
240 "\x00\x00\x00\xCC\x00\x6A"
241 MSG_OLDAISS_REQ_STR
"\x00"
242 "\x00\x00\x00\xCD\x00\x1C"
243 MSG_IMAGENOTFOUND_REQ_STR
"\x00\x00"
244 "\x00\x00\x00\xCE\x00\x08"
245 MSG_CANCEL_GAD_STR
"\x00"
246 "\x00\x00\x00\xCF\x00\x06"
247 MSG_SAVE_GAD_STR
"\x00"
248 "\x00\x00\x00\xD0\x00\x06"
249 MSG_USE_GAD_STR
"\x00\x00"
250 "\x00\x00\x01\x2C\x00\x08"
251 MSG_INSERT_GAD_STR
"\x00\x00"
252 "\x00\x00\x01\x2D\x00\x06"
253 MSG_EJECT_GAD_STR
"\x00"
254 "\x00\x00\x01\x2E\x00\x0E"
255 MSG_WRITEPROTECT_GAD_STR
"\x00"
256 "\x00\x00\x01\x2F\x00\x08"
257 MSG_REFRESH_GAD_STR
"\x00"
258 "\x00\x00\x01\x30\x00\x08"
259 MSG_PLUGINS_WND_STR
"\x00"
260 "\x00\x00\x01\x31\x00\x14"
261 MSG_MAIN_WND_STR
"\x00\x00"
262 "\x00\x00\x01\x32\x00\x0C"
263 MSG_ABOUT_WND_STR
"\x00\x00"
264 "\x00\x00\x01\x33\x00\x0C"
265 MSG_ERROR_WND_STR
"\x00\x00"
266 "\x00\x00\x01\x34\x00\x10"
267 MSG_SETDEVICETYPE_GAD_STR
"\x00"
268 "\x00\x00\x01\x35\x00\x18"
269 MSG_SETDEVICETYPE_WND_STR
"\x00"
270 "\x00\x00\x01\x36\x00\x0C"
271 MSG_DEVICETYPE_GAD_STR
"\x00"
272 "\x00\x00\x01\x37\x00\x20"
273 MSG_DEVICETYPE_DIRECT_ACCESS_STR
"\x00"
274 "\x00\x00\x01\x38\x00\x08"
275 MSG_DEVICETYPE_CDROM_STR
"\x00\x00"
276 "\x00\x00\x01\x39\x00\x0E"
277 MSG_DEVICETYPE_OPTICAL_DISK_STR
"\x00\x00"
278 "\x00\x00\x01\x40\x00\x0E"
279 MSG_PLUGIN_BUILTIN_STR
"\x00\x00"
280 "\x00\x00\x01\x41\x00\x0E"