dtcalc: change from obsoleted MAXFLOAT to FLT_MAX from std C
[oweals/cde.git] / cde / lib / DtHelp / HelpP.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: HelpP.h /main/3 1995/10/26 12:24:50 rswiston $ */
24 /************************************<+>*************************************
25  ****************************************************************************
26  **
27  **   File:        HelpP.h
28  **
29  **   Project:     CacheCreeek (Rivers) Project.
30  **
31  **   
32  **   Description: Private header file for Dts.
33  **
34  **
35  **  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 Hewlett-Packard Company
36  **
37  **  (c) Copyright 1993, 1994 Hewlett-Packard Company
38  **  (c) Copyright 1993, 1994 International Business Machines Corp.
39  **  (c) Copyright 1993, 1994 Sun Microsystems, Inc.
40  **  (c) Copyright 1993, 1994 Novell, Inc.
41  **
42  **
43  **
44  ****************************************************************************
45  ************************************<+>*************************************/
46 #ifndef _DtHelpP_h
47 #define _DtHelpP_h
48
49 /* Privite Argument Resource Definitions for Help Widget */
50
51 #define DtNshowTopLevelButton   "showTopLevelButton"
52 #ifndef XmNshowTopLevelButton
53 #define XmNshowTopLevelButton   DtNshowTopLevelButton
54 #endif
55 #define DtCShowTopLevelButton   "ShowTopLevelButton"
56 #ifndef XmCShowTopLevelButton
57 #define XmCShowTopLevelButton   DtCShowTopLevelButton
58 #endif
59
60 #define DtNsrchHitPrefixFont    "srchHitPrefixFont"
61 #ifndef XmNsrchHitPrefixFont
62 #define XmNsrchHitPrefixFont    DtNsrchHitPrefixFont
63 #endif
64 #define DtCSrchHitPrefixFont   "SrchHitPrefixFont"
65 #ifndef XmCSrchHitPrefixFont
66 #define XmCSrchHitPrefixFont    DtCSrchHitPrefixFont
67 #endif
68
69
70 #ifndef CDE_CONFIGURATION_TOP
71 #define CDE_CONFIGURATION_TOP "/etc/dt"
72 #endif
73
74 #ifndef CDE_INSTALLATION_TOP
75 #define CDE_INSTALLATION_TOP "/usr/dt"
76 #endif
77
78
79 #define DtDEFAULT_SYSTEM_PATH \
80                  CDE_CONFIGURATION_TOP "/appconfig/help/%L/%H:" \
81                  CDE_CONFIGURATION_TOP "/appconfig/help/%L/%H.sdl:" \
82                  CDE_CONFIGURATION_TOP "/appconfig/help/%L/%H.hv:" \
83                  CDE_CONFIGURATION_TOP "/appconfig/help/C/%H:" \
84                  CDE_CONFIGURATION_TOP "/appconfig/help/C/%H.sdl:" \
85                  CDE_CONFIGURATION_TOP "/appconfig/help/C/%H.hv:" \
86                  CDE_INSTALLATION_TOP "/appconfig/help/%L/%H:" \
87                  CDE_INSTALLATION_TOP "/appconfig/help/%L/%H.sdl:" \
88                  CDE_INSTALLATION_TOP "/appconfig/help/%L/%H.hv" \
89                  CDE_INSTALLATION_TOP "/appconfig/help/C/%H:" \
90                  CDE_INSTALLATION_TOP "/appconfig/help/C/%H.sdl:" \
91                  CDE_INSTALLATION_TOP "/appconfig/help/C/%H.hv:"
92
93
94 #define DtDEFAULT_USER_PATH_FORMAT \
95                 "%s/.dt/help/%s/%%H:" \
96                 "%s/.dt/help/%s/%%H.sdl:" \
97                 "%s/.dt/help/%s/%%H.hv:" \
98                 "%s/.dt/help/%%H:" \
99                 "%s/.dt/help/%%H.sdl:" \
100                 "%s/.dt/help/%%H.hv"
101
102 /* this path expects a sprintf usage as follows:
103     sprintf(buf,DtDEFAULT_USER_PATH_FORMAT,
104                         homedir, dtusersessionname,
105                         homedir, dtusersessionname,
106                         homedir, dtusersessionname,
107                         homedir, homedir, homedir);
108 */
109
110 /* #define DtVOLUMES_TYPE "volumes" */
111
112 #endif /* _DtHelpP_h */
113 /* DON'T ADD ANYTHING AFTER THIS #endif */
114
115
116
117
118