123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- /*
- * CDE - Common Desktop Environment
- *
- * Copyright (c) 1993-2012, The Open Group. All rights reserved.
- *
- * These libraries and programs are free software; you can
- * redistribute them and/or modify them under the terms of the GNU
- * Lesser General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option)
- * any later version.
- *
- * These libraries and programs are distributed in the hope that
- * they will be useful, but WITHOUT ANY WARRANTY; without even the
- * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- * PURPOSE. See the GNU Lesser General Public License for more
- * details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with these libraries and programs; if not, write
- * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
- * Floor, Boston, MA 02110-1301 USA
- */
- /* $XConsortium: main.h /main/5 1996/10/21 15:28:26 mgreess $ */
- /*********************************************************************
- * (c) Copyright 1993, 1994 Hewlett-Packard Company
- * (c) Copyright 1993, 1994 International Business Machines Corp.
- * (c) Copyright 1993, 1994 Sun Microsystems, Inc.
- * (c) Copyright 1993, 1994 Unix System Labs, Inc., a subsidiary of
- * Novell, Inc.
- **********************************************************************/
- /************************************<+>*************************************
- ****************************************************************************
- **
- ** File: main.h
- **
- ** Project: DT 3.0
- **
- ** This file contains global header file information for dticon
- **
- **
- ** (c) Copyright Hewlett-Packard Company, 1992.
- **
- **
- ****************************************************************************
- ************************************<+>*************************************/
- #ifndef _main_h
- #define _main_h
- #ifndef NO_MESSAGE_CATALOG
- # define _CLIENT_CAT_NAME "dticon"
- extern char *_DtGetMessage(char *filename, int set, int n, char *s);
- # define GETSTR(set, number, string) \
- (_DtGetMessage(_CLIENT_CAT_NAME, set, number, string))
- #else
- # define GETSTR(set, number, string) string
- #endif
- /* get a message catlog string and convert it to an XmString */
- #define GETXMSTR(set,num,str) XmStringCreateLocalized (GETSTR(set, num, str))
- /* convert a regular string to an XmString */
- #define XMSTR(str) XmStringCreateLocalized (str)
- #endif /* _main_h */
- /* DON'T ADD ANYTHING AFTER THIS #endif */
|