1 /* External shell widget external header file.
2 Copyright (C) 1993, 1994 Sun Microsystems, Inc.
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.
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.
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. */
19 /* Synched up with: Not in FSF. */
21 /* Written by Ben Wing, September 1993. */
23 #ifndef INCLUDED_ExternalShell_h_
24 #define INCLUDED_ExternalShell_h_
27 #define XtNwindow "window"
30 #define XtCWindow "Window"
33 #ifndef XtNclientTimeout
34 #define XtNclientTimeout "clientTimeout"
36 #ifndef XtCClientTimeout
37 #define XtCClientTimeout "ClientTimeout"
41 #define XtNdeadClient "deadClient"
44 #define XtCDeadClient "DeadClient"
47 typedef struct _ExternalShellClassRec *ExternalShellWidgetClass;
48 typedef struct _ExternalShellRec *ExternalShellWidget;
49 extern WidgetClass externalShellWidgetClass;
51 Bool ExternalShellReady(Widget w, Window win, long event_mask);
52 void ExternalShellSetFocus(Widget w);
53 void ExternalShellUnrealize(Widget w);
55 #define is_external_shell(w) (XtClass (w) == externalShellWidgetClass)
57 #endif /* INCLUDED_ExternalShell_h_ */