1 /* External client widget external header file.
2 Copyright (C) 1993, 1994 Sun Microsystems, Inc.
4 This file is part of SXEmacs
6 SXEmacs is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
11 SXEmacs is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>. */
20 /* Synched up with: Not in FSF. */
22 /* Written by Ben Wing. */
24 #ifndef INCLUDED_ExternalClient_h_
25 #define INCLUDED_ExternalClient_h_
27 #ifndef XtNshellTimeout
28 #define XtNshellTimeout "shellTimeout"
30 #ifndef XtCShellTimeout
31 #define XtCShellTimeout "ShellTimeout"
35 #define XtNdeadShell "deadShell"
38 #define XtCDeadShell "DeadShell"
41 #ifndef XtNemacsProcID
42 #define XtNemacsProcID "emacsProcID"
44 #ifndef XtCEmacsProcID
45 #define XtCEmacsProcID "EmacsProcID"
48 #ifndef XtNshellReadyCallback
49 #define XtNshellReadyCallback "shellReadyCallback"
53 #define XtNshellName "shellName"
56 #define XtCShellName "ShellName"
59 typedef struct _ExternalClientClassRec *ExternalClientWidgetClass;
60 typedef struct _ExternalClientRec *ExternalClientWidget;
61 extern WidgetClass externalClientWidgetClass;
63 /* External entry points when using direct Xlib */
65 void ExternalClientInitialize(Display * display, Window win);
66 void ExternalClientEventHandler(Display * display, Window win, XEvent * event);
68 #endif /* INCLUDED_ExternalClient_h_ */