Merge branch 'merges'
[sxemacs] / src / ui / X11 / ExternalClient.h
1 /* External client widget external header file.
2    Copyright (C) 1993, 1994 Sun Microsystems, Inc.
3
4 This file is part of SXEmacs
5
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.
10
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.
15
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/>. */
18
19
20 /* Synched up with: Not in FSF. */
21
22 /* Written by Ben Wing. */
23
24 #ifndef INCLUDED_ExternalClient_h_
25 #define INCLUDED_ExternalClient_h_
26
27 #ifndef XtNshellTimeout
28 #define XtNshellTimeout "shellTimeout"
29 #endif
30 #ifndef XtCShellTimeout
31 #define XtCShellTimeout "ShellTimeout"
32 #endif
33
34 #ifndef XtNdeadShell
35 #define XtNdeadShell "deadShell"
36 #endif
37 #ifndef XtCDeadShell
38 #define XtCDeadShell "DeadShell"
39 #endif
40
41 #ifndef XtNemacsProcID
42 #define XtNemacsProcID "emacsProcID"
43 #endif
44 #ifndef XtCEmacsProcID
45 #define XtCEmacsProcID "EmacsProcID"
46 #endif
47
48 #ifndef XtNshellReadyCallback
49 #define XtNshellReadyCallback "shellReadyCallback"
50 #endif
51
52 #ifndef XtNshellName
53 #define XtNshellName "shellName"
54 #endif
55 #ifndef XtCShellName
56 #define XtCShellName "ShellName"
57 #endif
58
59 typedef struct _ExternalClientClassRec *ExternalClientWidgetClass;
60 typedef struct _ExternalClientRec *ExternalClientWidget;
61 extern WidgetClass externalClientWidgetClass;
62
63 /* External entry points when using direct Xlib */
64
65 void ExternalClientInitialize(Display * display, Window win);
66 void ExternalClientEventHandler(Display * display, Window win, XEvent * event);
67
68 #endif                          /* INCLUDED_ExternalClient_h_ */