2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these libraries and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /* $XConsortium: main.h /main/5 1996/10/21 15:28:26 mgreess $ */
24 /*********************************************************************
25 * (c) Copyright 1993, 1994 Hewlett-Packard Company
26 * (c) Copyright 1993, 1994 International Business Machines Corp.
27 * (c) Copyright 1993, 1994 Sun Microsystems, Inc.
28 * (c) Copyright 1993, 1994 Unix System Labs, Inc., a subsidiary of
30 **********************************************************************/
31 /************************************<+>*************************************
32 ****************************************************************************
38 ** This file contains global header file information for dticon
41 ** (c) Copyright Hewlett-Packard Company, 1992.
44 ****************************************************************************
45 ************************************<+>*************************************/
50 #ifndef NO_MESSAGE_CATALOG
52 # define _CLIENT_CAT_NAME "dticon.cat"
54 # define _CLIENT_CAT_NAME "dticon"
55 # endif /* __ultrix */
56 extern char *_DtGetMessage(char *filename, int set, int n, char *s);
57 # define GETSTR(set, number, string) \
58 (_DtGetMessage(_CLIENT_CAT_NAME, set, number, string))
60 # define GETSTR(set, number, string) string
64 /* get a message catlog string and convert it to an XmString */
65 #define GETXMSTR(set,num,str) XmStringCreateLocalized (GETSTR(set, num, str))
67 /* convert a regular string to an XmString */
68 #define XMSTR(str) XmStringCreateLocalized (str)
72 /* DON'T ADD ANYTHING AFTER THIS #endif */