1 /* External client widget internal 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. */
23 #ifndef INCLUDED_ExternalClientP_h_
24 #define INCLUDED_ExternalClientP_h_
26 #include "ExternalClient.h"
27 #ifdef EXTW_USES_MOTIF
28 #include <Xm/PrimitiveP.h>
31 typedef struct { /* new fields for ExternalClient class */
33 } ExternalClientClassPart;
35 typedef struct _ExternalClientClassRec { /* full class record declaration */
36 CoreClassPart core_class;
37 #ifdef EXTW_USES_MOTIF
38 XmPrimitiveClassPart primitive_class;
40 ExternalClientClassPart externalClient_class;
41 } ExternalClientClassRec;
43 typedef struct { /* new fields for ExternalClient widget */
44 Bool dead_shell; /* is the shell dead? */
45 unsigned long shell_timeout;/* how long to wait for shell's response */
46 int shell_ready; /* is the shell ready? */
51 XtCallbackList shell_ready_callback;
56 typedef struct _ExternalClientRec { /* full instance record */
58 #ifdef EXTW_USES_MOTIF
59 XmPrimitivePart primitive;
61 ExternalClientPart externalClient;
64 extern ExternalClientClassRec externalClientClassRec; /* class pointer */
66 #endif /* INCLUDED_ExternalClientP_h_ */