+/*
+ * 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 librararies and programs; if not, write
+ * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
+ * Floor, Boston, MA 02110-1301 USA
+ */
/* $XConsortium: help.c /main/4 1996/03/25 13:12:20 ageorge $ */
/* *
* help.c *
#include <Xm/MessageB.h>
#include <Dt/Dt.h>
+#include <Dt/Wsm.h>
#include <Dt/HelpDialog.h>
#include "calctool.h"
static void UnmanageCB P(()) ;
void
-Help(helpVolume, locationId)
- char *helpVolume;
- char *locationId;
+Help(char *helpVolume, char *locationId)
{
Arg args[10];
Position newX, newY;
}
void
-HelpCloseCB(widget, client_data, call_data)
-Widget widget;
-caddr_t client_data, call_data;
-
+HelpCloseCB(Widget widget, caddr_t client_data, caddr_t call_data)
{
HelpStruct *pHelpCache = (HelpStruct *)client_data;
}
void
-HelpHyperlinkCB(widget, client_data, call_data)
-Widget widget;
-caddr_t client_data, call_data;
+HelpHyperlinkCB(Widget widget, caddr_t client_data, caddr_t call_data)
{
DtHelpDialogCallbackStruct *pHyper = (DtHelpDialogCallbackStruct *) call_data;
void
-HelpRequestCB(widget, client_data, call_data)
-Widget widget;
-caddr_t client_data, call_data;
+HelpRequestCB(Widget widget, caddr_t client_data, caddr_t call_data)
{
char *helpVolume, *locationId;
int topic;
}
void
-HelpModeCB(w, client_data, call_data)
-Widget w;
-caddr_t client_data, call_data;
+HelpModeCB(Widget w, caddr_t client_data, caddr_t call_data)
{
Widget widget;
char *errorMsg, *tmp;
}
void
-DisplayHelp( helpVolume, locationId)
-char *helpVolume;
-char *locationId;
+DisplayHelp(char *helpVolume, char *locationId)
{
Arg args[10];
int n;
static Widget
-GetHelpDialog()
+GetHelpDialog(void)
{
static HelpStruct *pHelpCache;
HelpStruct *pHelp;
Arg args[5];
- int n;
if(pHelpCache == (HelpStruct *)NULL)
{
}
void
-ErrDialog( errString, visualParent )
-char *errString ;
-Widget visualParent ;
+ErrDialog(char *errString, Widget visualParent)
{
int n;
Arg args[10];
}
static void
-UnmanageCB(widget, client_data, call_data)
-Widget widget;
-XtPointer client_data, call_data;
+UnmanageCB(Widget widget, XtPointer client_data, XtPointer call_data)
{
XtUnmanageChild(widget);
}
void
-CenterMsgCB (widget, client_data, call_data)
-Widget widget;
-XtPointer client_data, call_data;
+CenterMsgCB (Widget widget, XtPointer client_data, XtPointer call_data)
{
int n;
Position newX, newY;