16789542f514fbc3b235220472982f5bc13a26cf
[chise/xemacs-chise.git.1] / src / ExternalClient.h
1 /* External client widget external header file.
2    Copyright (C) 1993, 1994 Sun Microsystems, Inc.
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public
15 License along with this library; if not, write to
16 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 Boston, MA 02111-1307, USA. */
18
19 /* Synched up with: Not in FSF. */
20
21 /* Written by Ben Wing. */
22
23 #ifndef INCLUDED_ExternalClient_h_
24 #define INCLUDED_ExternalClient_h_
25
26 #ifndef XtNshellTimeout
27 #define XtNshellTimeout "shellTimeout"
28 #endif
29 #ifndef XtCShellTimeout
30 #define XtCShellTimeout "ShellTimeout"
31 #endif
32
33 #ifndef XtNdeadShell
34 #define XtNdeadShell "deadShell"
35 #endif
36 #ifndef XtCDeadShell
37 #define XtCDeadShell "DeadShell"
38 #endif
39
40 #ifndef XtNemacsProcID
41 #define XtNemacsProcID "emacsProcID"
42 #endif
43 #ifndef XtCEmacsProcID
44 #define XtCEmacsProcID "EmacsProcID"
45 #endif
46
47 #ifndef XtNshellReadyCallback
48 #define XtNshellReadyCallback "shellReadyCallback"
49 #endif
50
51 #ifndef XtNshellName
52 #define XtNshellName "shellName"
53 #endif
54 #ifndef XtCShellName
55 #define XtCShellName "ShellName"
56 #endif
57
58 #ifndef XtNuseToolTalk
59 #define XtNuseToolTalk "useToolTalk"
60 #endif
61 #ifndef XtCUseToolTalk
62 #define XtCUseToolTalk "UseToolTalk"
63 #endif
64
65 typedef struct _ExternalClientClassRec *ExternalClientWidgetClass;
66 typedef struct _ExternalClientRec *ExternalClientWidget;
67 extern WidgetClass externalClientWidgetClass;
68
69 /* External entry points when using direct Xlib */
70
71 void ExternalClientInitialize   (Display *display, Window win);
72 void ExternalClientEventHandler (Display *display, Window win, XEvent *event);
73
74 #endif /* INCLUDED_ExternalClient_h_ */