dtcalc: change from obsoleted MAXFLOAT to FLT_MAX from std C
[oweals/cde.git] / cde / lib / DtHelp / HelpDialog.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: HelpDialog.h /main/3 1995/10/26 12:24:05 rswiston $ */
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 Novell, Inc.
29  */
30
31 #ifndef _Dt_HelpDialog_h
32 #define _Dt_HelpDialog_h
33
34 #include <Dt/Help.h>
35
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39
40
41 /*
42  * Constants
43  */
44
45 /* General Help Dialog-specific Resources */
46
47 #ifndef DtNmarginWidth
48 #define DtNmarginWidth                  XmNmarginWidth
49 #endif
50 #ifndef DtNmarginHeight
51 #define DtNmarginHeight                 XmNmarginHeight
52 #endif
53 #ifndef DtNshowNewWindowButton
54 #define DtNshowNewWindowButton          "showNewWindowButton"
55 #endif
56 #ifndef DtNtopicTitle
57 #define DtNtopicTitle                   "topicTitle"
58 #endif
59 #ifndef DtNvisiblePathCount
60 #define DtNvisiblePathCount             "visiblePathCount"
61 #endif
62
63 #ifndef DtCCallback
64 #define DtCCallback                     XmCCallback
65 #endif
66
67 #ifndef DtCMarginWidth
68 #define DtCMarginWidth                  XmCMarginWidth
69 #endif
70 #ifndef DtCMarginHeight
71 #define DtCMarginHeight                 XmCMarginHeight
72 #endif
73 #ifndef DtCShowNewWindowButton
74 #define DtCShowNewWindowButton          "ShowNewWindowButton"
75 #endif
76 #ifndef DtCTopicTitle
77 #define DtCTopicTitle                   "TopicTitle"
78 #endif
79 #ifndef DtCVisiblePathCount
80 #define DtCVisiblePathCount             "VisiblePathCount"
81 #endif
82
83
84 /*
85  * Types
86  */
87
88 /* Widget class and instance */
89
90 typedef struct _DtHelpDialogWidgetClassRec * DtHelpDialogWidgetClass;
91 typedef struct _DtHelpDialogWidgetRec      * DtHelpDialogWidget;
92
93
94 /*
95  * Data
96  */
97
98 /* Widget class record */
99
100 externalref WidgetClass dtHelpDialogWidgetClass;
101
102
103 /*
104  * Functions
105  */
106
107 extern Widget DtCreateHelpDialog(
108                 Widget          parent,
109                 char            *name,
110                 ArgList         arglist,
111                 Cardinal        argcount);
112
113 #ifdef __cplusplus
114 }
115 #endif
116
117 #endif /* _Dt_HelpDialog_h */