dtwm: basic multihead(xinerama only) support
[oweals/cde.git] / cde / programs / dticon / main.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
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)
10  * any later version.
11  *
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
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these librararies and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
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
29 *      Novell, Inc.
30 **********************************************************************/
31 /************************************<+>*************************************
32  ****************************************************************************
33  **
34  **   File:        main.h
35  **
36  **   Project:     DT 3.0
37  **
38  **  This file contains global header file information for dticon
39  **
40  **
41  **  (c) Copyright Hewlett-Packard Company, 1992.
42  **
43  **
44  ****************************************************************************
45  ************************************<+>*************************************/
46 #ifndef _main_h
47 #define _main_h
48
49
50 #ifndef NO_MESSAGE_CATALOG
51 #  ifdef __ultrix
52 #    define _CLIENT_CAT_NAME "dticon.cat"
53 #  else
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))
59 #else
60 #  define GETSTR(set, number, string) string
61 #endif
62
63
64 /* get a message catlog string and convert it to an XmString */
65 #define GETXMSTR(set,num,str)   XmStringCreateLocalized (GETSTR(set, num, str))
66
67 /* convert a regular string to an XmString */
68 #define XMSTR(str)              XmStringCreateLocalized (str)
69
70
71 #endif /* _main_h */
72 /* DON'T ADD ANYTHING AFTER THIS #endif */
73