home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / EmacsShellP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-07  |  3.1 KB  |  102 lines

  1. /* Emacs shell widget internal header file.
  2.    Copyright (C) 1994, 1995 Sun Microsystems, Inc.
  3.  
  4. This file is part of XEmacs.
  5.  
  6. XEmacs is free software; you can redistribute it and/or modify it
  7. under the terms of the GNU General Public License as published by the
  8. Free Software Foundation; either version 2, or (at your option) any
  9. later version.
  10.  
  11. XEmacs is distributed in the hope that it will be useful, but WITHOUT
  12. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13. FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14. for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with XEmacs; see the file COPYING.  If not, write to the Free
  18. Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. /* Synched up with: Not in FSF. */
  21.  
  22. /* Written by Ben Wing, May, 1994. */
  23.  
  24. #ifndef _EmacsShellP_h
  25. #define _EmacsShellP_h
  26.  
  27. #include "xintrinsic.h"
  28. #include <X11/ShellP.h>
  29. #include "EmacsShell.h"
  30.  
  31. /****** TopLevelEmacsShell ******/
  32.  
  33. typedef struct {        /* new fields for TopLevelEmacsShell class */
  34.   int dummy;
  35. } TopLevelEmacsShellClassPart;
  36.  
  37. /* full class record declaration */
  38. typedef struct _TopLevelEmacsShellClassRec {
  39.   CoreClassPart core_class;
  40.   CompositeClassPart composite_class;
  41.   ShellClassPart shell_class;
  42.   WMShellClassPart wm_shell_class;
  43.   VendorShellClassPart vendor_shell_class;
  44.   TopLevelShellClassPart top_level_shell_class;
  45.   TopLevelEmacsShellClassPart emacs_shell_class;
  46. } TopLevelEmacsShellClassRec;
  47.  
  48. typedef struct {        /* new fields for TopLevelEmacsShell widget */
  49.   int width_cells, height_cells;
  50.   int min_width_cells, min_height_cells;
  51. } TopLevelEmacsShellPart;
  52.  
  53. typedef struct _TopLevelEmacsShellRec {    /* full instance record */
  54.     CorePart core;
  55.     CompositePart composite;
  56.     ShellPart shell;
  57.     WMShellPart wm;
  58.     VendorShellPart vendor;
  59.     TopLevelShellPart top_level;
  60.     TopLevelEmacsShellPart emacs_shell;
  61. } TopLevelEmacsShellRec;
  62.  
  63. /* class pointer */
  64. extern TopLevelEmacsShellClassRec topLevelEmacsShellClassRec;
  65.  
  66. /****** TransientEmacsShell ******/
  67.  
  68. typedef struct {        /* new fields for TransientEmacsShell class */
  69.   int dummy;
  70. } TransientEmacsShellClassPart;
  71.  
  72. /* full class record declaration */
  73. typedef struct _TransientEmacsShellClassRec {
  74.   CoreClassPart core_class;
  75.   CompositeClassPart composite_class;
  76.   ShellClassPart shell_class;
  77.   WMShellClassPart wm_shell_class;
  78.   VendorShellClassPart vendor_shell_class;
  79.   TransientShellClassPart transient_shell_class;
  80.   TransientEmacsShellClassPart emacs_shell_class;
  81. } TransientEmacsShellClassRec;
  82.  
  83. typedef struct {        /* new fields for TransientEmacsShell widget */
  84.   int width_cells, height_cells;
  85.   int min_width_cells, min_height_cells;
  86. } TransientEmacsShellPart;
  87.  
  88. typedef struct _TransientEmacsShellRec {    /* full instance record */
  89.     CorePart core;
  90.     CompositePart composite;
  91.     ShellPart shell;
  92.     WMShellPart wm;
  93.     VendorShellPart vendor;
  94.     TransientShellPart transient;
  95.     TransientEmacsShellPart emacs_shell;
  96. } TransientEmacsShellRec;
  97.  
  98. /* class pointer */
  99. extern TransientEmacsShellClassRec transientEmacsShellClassRec;
  100.  
  101. #endif /* _EmacsShellP_h */
  102.