1 /* 2 ** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3 ** Distributed under the terms of the MIT License. 4 */ 5 6 7 #include <nl_types.h> 8 9 10 nl_catd 11 catopen(const char *name, int oflag) 12 { 13 return (nl_catd)1; 14 } 15 16 17 char * 18 catgets(nl_catd cat, int setID, int msgID, const char *defaultMessage) 19 { 20 // should return "const char *"... 21 return const_cast<char *>(defaultMessage); 22 } 23 24 25 int 26 catclose(nl_catd) 27 { 28 return 0; 29 } 30 31