1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00
cde/cde/programs/dticon/main.h
2018-09-30 17:27:04 -06:00

69 lines
2.5 KiB
C

/*
* 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 */