home *** CD-ROM | disk | FTP | other *** search
- #ifndef BUILDIN_H
- #define BUILDIN_H
-
-
- /****************************************************************************/
-
-
- /* This file was created automatically by CatComp.
- * Do NOT edit by hand!
- */
-
-
- #ifndef EXEC_TYPES_H
- #include <exec/types.h>
- #endif
-
- #ifdef CATCOMP_ARRAY
- #undef CATCOMP_NUMBERS
- #undef CATCOMP_STRINGS
- #define CATCOMP_NUMBERS
- #define CATCOMP_STRINGS
- #endif
-
- #ifdef CATCOMP_BLOCK
- #undef CATCOMP_STRINGS
- #define CATCOMP_STRINGS
- #endif
-
-
- /****************************************************************************/
-
-
- #ifdef CATCOMP_NUMBERS
-
- #define MSG_TITLE 1000
- #define MSG_RNDPIC_DESC 1001
- #define MSG_CHANGE_DESC 1002
- #define MSG_DESKTOP 1003
- #define MSG_LISTER 1004
- #define MSG_REQUESTER 1005
- #define MSG_SAVE 1006
- #define MSG_TEST 1007
- #define MSG_CANCEL 1008
- #define MSG_POPUP 1009
- #define MSG_TILE 1010
- #define MSG_POP2 1011
- #define MSG_POP1 1012
- #define MSG_POP3 1013
- #define MSG_POP4 1014
- #define MSG_POP5 1015
- #define MSG_POP6 1016
- #define MSG_DELAY_C 1017
- #define MSG_UNTIL 1018
- #define MSG_MIDDLE 1019
- #define MSG_COPIED 1020
- #define MSG_DELAY 1021
- #define MSG_COPYPATH 1022
-
- #endif /* CATCOMP_NUMBERS */
-
-
- /****************************************************************************/
-
-
- #ifdef CATCOMP_STRINGS
-
- #define MSG_TITLE_STR "RndPic Module"
- #define MSG_RNDPIC_DESC_STR "RndPic preferences"
- #define MSG_CHANGE_DESC_STR "Change pattern randomly"
- #define MSG_DESKTOP_STR "Desktop"
- #define MSG_LISTER_STR "Lister"
- #define MSG_REQUESTER_STR "Requester"
- #define MSG_SAVE_STR "Save"
- #define MSG_TEST_STR "Test it"
- #define MSG_CANCEL_STR "Cancel"
- #define MSG_POPUP_STR "Center picture"
- #define MSG_TILE_STR "Tile picture"
- #define MSG_POP2_STR "."
- #define MSG_POP1_STR "Do not remap"
- #define MSG_POP3_STR "Bad quality"
- #define MSG_POP4_STR "Mediocre quality"
- #define MSG_POP5_STR "Better quality"
- #define MSG_POP6_STR "Best quality"
- #define MSG_DELAY_C_STR "Delay time"
- #define MSG_UNTIL_STR "until start"
- #define MSG_MIDDLE_STR "between cmd"
- #define MSG_COPIED_STR "Use copy method"
- #define MSG_DELAY_STR "Use command method"
- #define MSG_COPYPATH_STR "Create links in"
-
- #endif /* CATCOMP_STRINGS */
-
-
- /****************************************************************************/
-
-
- #ifdef CATCOMP_ARRAY
-
- struct CatCompArrayType
- {
- LONG cca_ID;
- STRPTR cca_Str;
- };
-
- static const struct CatCompArrayType CatCompArray[] =
- {
- {MSG_TITLE,(STRPTR)MSG_TITLE_STR},
- {MSG_RNDPIC_DESC,(STRPTR)MSG_RNDPIC_DESC_STR},
- {MSG_CHANGE_DESC,(STRPTR)MSG_CHANGE_DESC_STR},
- {MSG_DESKTOP,(STRPTR)MSG_DESKTOP_STR},
- {MSG_LISTER,(STRPTR)MSG_LISTER_STR},
- {MSG_REQUESTER,(STRPTR)MSG_REQUESTER_STR},
- {MSG_SAVE,(STRPTR)MSG_SAVE_STR},
- {MSG_TEST,(STRPTR)MSG_TEST_STR},
- {MSG_CANCEL,(STRPTR)MSG_CANCEL_STR},
- {MSG_POPUP,(STRPTR)MSG_POPUP_STR},
- {MSG_TILE,(STRPTR)MSG_TILE_STR},
- {MSG_POP2,(STRPTR)MSG_POP2_STR},
- {MSG_POP1,(STRPTR)MSG_POP1_STR},
- {MSG_POP3,(STRPTR)MSG_POP3_STR},
- {MSG_POP4,(STRPTR)MSG_POP4_STR},
- {MSG_POP5,(STRPTR)MSG_POP5_STR},
- {MSG_POP6,(STRPTR)MSG_POP6_STR},
- {MSG_DELAY_C,(STRPTR)MSG_DELAY_C_STR},
- {MSG_UNTIL,(STRPTR)MSG_UNTIL_STR},
- {MSG_MIDDLE,(STRPTR)MSG_MIDDLE_STR},
- {MSG_COPIED,(STRPTR)MSG_COPIED_STR},
- {MSG_DELAY,(STRPTR)MSG_DELAY_STR},
- {MSG_COPYPATH,(STRPTR)MSG_COPYPATH_STR},
- };
-
- #endif /* CATCOMP_ARRAY */
-
-
- /****************************************************************************/
-
-
- #ifdef CATCOMP_BLOCK
-
- static const char CatCompBlock[] =
- {
- "\x00\x00\x03\xE8\x00\x0E"
- MSG_TITLE_STR "\x00"
- "\x00\x00\x03\xE9\x00\x14"
- MSG_RNDPIC_DESC_STR "\x00\x00"
- "\x00\x00\x03\xEA\x00\x18"
- MSG_CHANGE_DESC_STR "\x00"
- "\x00\x00\x03\xEB\x00\x08"
- MSG_DESKTOP_STR "\x00"
- "\x00\x00\x03\xEC\x00\x08"
- MSG_LISTER_STR "\x00\x00"
- "\x00\x00\x03\xED\x00\x0A"
- MSG_REQUESTER_STR "\x00"
- "\x00\x00\x03\xEE\x00\x06"
- MSG_SAVE_STR "\x00\x00"
- "\x00\x00\x03\xEF\x00\x08"
- MSG_TEST_STR "\x00"
- "\x00\x00\x03\xF0\x00\x08"
- MSG_CANCEL_STR "\x00\x00"
- "\x00\x00\x03\xF1\x00\x10"
- MSG_POPUP_STR "\x00\x00"
- "\x00\x00\x03\xF2\x00\x0E"
- MSG_TILE_STR "\x00\x00"
- "\x00\x00\x03\xF3\x00\x02"
- MSG_POP2_STR "\x00"
- "\x00\x00\x03\xF4\x00\x0E"
- MSG_POP1_STR "\x00\x00"
- "\x00\x00\x03\xF5\x00\x0C"
- MSG_POP3_STR "\x00"
- "\x00\x00\x03\xF6\x00\x12"
- MSG_POP4_STR "\x00\x00"
- "\x00\x00\x03\xF7\x00\x10"
- MSG_POP5_STR "\x00\x00"
- "\x00\x00\x03\xF8\x00\x0E"
- MSG_POP6_STR "\x00\x00"
- "\x00\x00\x03\xF9\x00\x0C"
- MSG_DELAY_C_STR "\x00\x00"
- "\x00\x00\x03\xFA\x00\x0C"
- MSG_UNTIL_STR "\x00"
- "\x00\x00\x03\xFB\x00\x0C"
- MSG_MIDDLE_STR "\x00"
- "\x00\x00\x03\xFC\x00\x10"
- MSG_COPIED_STR "\x00"
- "\x00\x00\x03\xFD\x00\x14"
- MSG_DELAY_STR "\x00\x00"
- "\x00\x00\x03\xFE\x00\x10"
- MSG_COPYPATH_STR "\x00"
- };
-
- #endif /* CATCOMP_BLOCK */
-
-
- /****************************************************************************/
-
-
- struct LocaleInfo
- {
- APTR li_LocaleBase;
- APTR li_Catalog;
- };
-
-
- #ifdef CATCOMP_CODE
-
- STRPTR GetString(struct LocaleInfo *li, LONG stringNum)
- {
- LONG *l;
- UWORD *w;
- STRPTR builtIn;
-
- l = (LONG *)CatCompBlock;
-
- while (*l != stringNum)
- {
- w = (UWORD *)((ULONG)l + 4);
- l = (LONG *)((ULONG)l + (ULONG)*w + 6);
- }
- builtIn = (STRPTR)((ULONG)l + 6);
-
- #undef LocaleBase
- #define LocaleBase li->li_LocaleBase
-
- if (LocaleBase)
- return(GetCatalogStr(li->li_Catalog,stringNum,builtIn));
- #undef LocaleBase
-
- return(builtIn);
- }
-
-
- #endif /* CATCOMP_CODE */
-
-
- /****************************************************************************/
-
-
- #endif /* BUILDIN_H */
-