Use C++ linker
[oweals/cde.git] / cde / programs / dtwm / WmHelp.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: WmHelp.h /main/4 1995/11/01 11:39:43 rswiston $ */
24 #ifdef WSM
25 /* 
26  * (c) Copyright 1987, 1988, 1989, 1990, 1992 HEWLETT-PACKARD COMPANY 
27  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC. 
28  * ALL RIGHTS RESERVED 
29 */ 
30 #ifdef REV_INFO
31 #ifndef lint
32 static char rcsid[] = ""
33 #endif
34 #endif
35
36 #include "WmGlobal.h"
37 /*
38  *    Various types of help available.
39  */
40
41 #define WM_DT_HELP_VOLUME                       "FPanel"
42 #define WM_DT_HELP_TOPIC                        "_HOMETOPIC"
43
44 #define WM_DT_WSRENAME_HELP_TOPIC               "WSRENAME"
45 #define WM_DT_WSRENAMEERROR_HELP_TOPIC          "WSRENAMEERROR"
46 #define WM_DT_ICONBOX_TOPIC                     "ICONBOX"
47 #define WM_DT_WSPRESENCE_TOPIC                  "WSPRESENCE"
48
49 typedef struct _WmHelpTopicData
50 {
51    char *helpVolume;
52    char *helpTopic;
53
54 } WmHelpTopicData;
55
56
57 /********    Public Function Declarations    ********/
58
59 extern Boolean RestoreHelpDialogs(
60                               WmScreenData *pSD);
61 extern void SaveHelpResources(
62                               WmScreenData *pSD);
63 extern Boolean WmDtHelp (
64                               String args);
65 extern Boolean WmDtHelpMode (
66                               void);
67 extern void WmDtHelpOnVersion (
68                                 Widget shell);
69 extern void WmDtStringHelpCB (Widget  theWidget,
70                                XtPointer  client_data,
71                                XtPointer  call_data );
72
73 extern void WmDtWmStringHelpCB (Widget  theWidget,
74                                XtPointer  client_data,
75                                XtPointer  call_data );
76
77 extern void WmDtDisplayTopicHelp (Widget widget,
78                                 char * helpVolume,
79                                 char * locationID);
80
81 extern void WmDtDisplayStringHelp (Widget widget,
82                                   char * helpString);
83
84 extern void WmDtWmTopicHelpCB (Widget  theWidget,
85                                XtPointer  client_data,
86                                XtPointer  call_data );
87
88 /********    End Public Function Declarations    ********/
89
90 /****************************   eof    ***************************/
91 #endif /* WSM */