Mercurial > hg > xemacs-beta
annotate src/ExternalClientP.h @ 593:5fd7ba8b56e7
[xemacs-hg @ 2001-05-31 12:45:27 by ben]
xemacs-faq.texi: Major rewrite.
Update all MS Windows info to current.
Redo section 6.1 almost completely.
Incorporate sections 1 and 2 of Hrvoje's FAQ.
etags.el: Fix infloop when going up to the root.
s\cygwin32.h: Don't unilaterally include ntplay, but only when we're compiling
with native sound (look in configure now).
event-msw.c: Fix yet more problems with C-g handling.
Implement debug-mswindows-events.
event-stream.c, events.h, signal.c, sysdep.h:
Rearrange the signal-handling code to eliminate the former
spaghetti logic paths in it. Document clearly what
"low-level" and "high-level" timeouts are. Rename some
functions with unclear names (e.g. "...alarm...") to names
that reflect what they actually do (e.g. "...async_timeout...").
Fix numerous bugs discovered in the process.
console-x.h, event-Xt.c, event-msw.c, frame-x.c:
Hopefully make XEmacs properly maintain the "iconified"
state on frames at all times. This should fix the "can't
delete a frame with C-x 5 0 when there's another iconified
frame out there" bug.
Put a notice in of further changes that should probably
be made to clean up the frame-visibility support.
(especially directed at Jan Vroonhof)
lisp.h, miscplay.c:
Rename SBufbyte to CBufbyte to avoid a misleading name.
Eliminate UChar, which is not used anywhere and contributes
no semantic info. Add a comment about the documentation-only
properties of the char/unsigned char typedefs. Add
SChar_Binary as an explicitly `signed' version of Char_Binary
and put back the `signed' declarations in miscplay.c.
alloc.c:
Use char typedefs.
console-msw.c, device-msw.c, dialog-msw.c, editfns.c, fileio.c, glyphs-eimage.c, menubar-msw.c, ntplay.c, objects-msw.c, realpath.c, redisplay-msw.c, select-msw.c, syswindows.h, win32.c:
Eliminate numerous C++ errors.
frame-msw.c:
Eliminate numerous C++ errors and Mule-ize.
glyphs-msw.c:
Eliminate numerous C++ errors and use char typedefs.
configure.in:
Fix problems detecting both native and Linux sound on Cygwin
when compiled with --with-msw=no.
Rearrange file-coding handling a bit to avoid warning when
compiling with Mule.
configure.in, configure.usage, INSTALL:
Document XEMACS_CC and corresponding compiler option --xemacs-compiler.
Explain how to build xemacs using a C++ compiler.
| author | ben |
|---|---|
| date | Thu, 31 May 2001 12:45:41 +0000 |
| parents | 74fd4e045ea6 |
| children | 697ef44129c6 2aa9cd456ae7 |
| rev | line source |
|---|---|
| 0 | 1 /* External client widget internal 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 | |
| 398 | 23 #ifndef INCLUDED_ExternalClientP_h_ |
| 24 #define INCLUDED_ExternalClientP_h_ | |
| 0 | 25 |
| 26 #include "ExternalClient.h" | |
| 27 #ifdef EXTW_USES_MOTIF | |
| 28 #include <Xm/PrimitiveP.h> | |
| 29 #endif | |
| 30 | |
| 31 typedef struct { /* new fields for ExternalClient class */ | |
| 32 int dummy; | |
| 33 } ExternalClientClassPart; | |
| 34 | |
| 35 typedef struct _ExternalClientClassRec { /* full class record declaration */ | |
| 36 CoreClassPart core_class; | |
| 37 #ifdef EXTW_USES_MOTIF | |
| 38 XmPrimitiveClassPart primitive_class; | |
| 39 #endif | |
| 40 ExternalClientClassPart externalClient_class; | |
| 41 } ExternalClientClassRec; | |
| 42 | |
| 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? */ | |
| 47 Window event_window; | |
| 48 long event_mask; | |
| 49 Bool has_focus; | |
| 50 char *emacs_procid; | |
| 51 XtCallbackList shell_ready_callback; | |
| 52 String shell_name; | |
| 53 Bool use_tooltalk; | |
| 54 } ExternalClientPart; | |
| 55 | |
| 56 typedef struct _ExternalClientRec { /* full instance record */ | |
| 57 CorePart core; | |
| 58 #ifdef EXTW_USES_MOTIF | |
| 59 XmPrimitivePart primitive; | |
| 60 #endif | |
| 61 ExternalClientPart externalClient; | |
| 62 } ExternalClientRec; | |
| 63 | |
| 64 extern ExternalClientClassRec externalClientClassRec; /* class pointer */ | |
| 65 | |
| 398 | 66 #endif /* INCLUDED_ExternalClientP_h_ */ |
