1 ##rem $Id: gcccatcomp.sd 30792 2009-03-07 22:40:04Z neil $
5 /****************************************************************
6 This file was created automatically by `%fv'
10 ****************************************************************/
11 #include <proto/locale.h>
12 #include <aros/symbolsets.h>
14 static struct Catalog *catalog;
21 const char *msg_DEFSTR;
28 static int OpenCatalog_%b(void)
32 if (LocaleBase != NULL)
42 for (count = 0; count < sizeof(msg_ARRAY)/sizeof(msg_ARRAY[0]); count++)
44 *msg_ARRAY[count].msg_STR = LocaleBase != NULL
47 catalog, msg_ARRAY[count].msg_ID, msg_ARRAY[count].msg_DEFSTR
49 : (CONST_STRPTR)msg_ARRAY[count].msg_DEFSTR;
55 static void CloseCatalog_%b(void)
57 if (LocaleBase != NULL)
58 CloseCatalog(catalog);
61 ADD2INIT(OpenCatalog_%b, 0);
62 ADD2EXIT(CloseCatalog_%b, 0);