1 ##rem $Id: E30b.sd 253 2014-02-18 11:15:58Z damato $
5 /****************************************************************
7 This file was created automatically by `%fv'
12 ****************************************************************/
20 MODULE 'locale' , 'libraries/locale'
21 MODULE 'utility/tagitem'
25 ->** Object definitions
33 EXPORT OBJECT catalog_%b
42 DEF cat_%b : PTR TO catalog
46 ->** Creation procedure for fc_type object
48 PROC create( id , str : PTR TO CHAR ) OF fc_type
57 ->** Procedure which returns the correct string according to the catalog
59 PROC getstr() OF fc_type RETURN ( IF cat_%b THEN GetCatalogStr( cat_%b , self.id , self.str ) ELSE self.str )
63 ->** Creation procedure for catalog_%b object
65 PROC create() OF catalog_%b
67 DEF fct : PTR TO fc_type
71 self.%i := NEW fct.create( %d , %s )
77 ->** Opening catalog procedure (exported)
79 PROC open( loc = NIL : PTR TO locale , language = NIL : PTR TO CHAR ) OF catalog_%b
85 IF ( localebase AND ( cat_%b = NIL ) )
98 cat_%b := OpenCatalogA( loc , '%b.catalog' ,
99 [ OC_BUILTINLANGUAGE , %l ,
110 ->** Closing catalog procedure
112 PROC close() OF catalog_%b
114 IF localebase THEN CloseCatalog( cat_%b )
120 /****************************************************************
121 End of the automatically created part!
122 ****************************************************************/