1 /* Emacs shell widget internal header file.
2 Copyright (C) 1994, 1995 Sun Microsystems, Inc.
4 This file is part of SXEmacs
6 SXEmacs is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
11 SXEmacs is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>. */
20 /* Synched up with: Not in FSF. */
22 /* Written by Ben Wing, May, 1994. */
24 #ifndef INCLUDED_EmacsShellP_h_
25 #define INCLUDED_EmacsShellP_h_
27 #include "xintrinsic.h"
28 #include <X11/ShellP.h>
29 #include "EmacsShell.h"
31 /****** TopLevelEmacsShell ******/
33 typedef struct { /* new fields for TopLevelEmacsShell class */
35 } TopLevelEmacsShellClassPart;
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;
48 typedef struct { /* new fields for TopLevelEmacsShell widget */
49 int width_cells, height_cells;
50 int min_width_cells, min_height_cells;
51 } TopLevelEmacsShellPart;
53 typedef struct _TopLevelEmacsShellRec { /* full instance record */
55 CompositePart composite;
58 VendorShellPart vendor;
59 TopLevelShellPart top_level;
60 TopLevelEmacsShellPart emacs_shell;
61 } TopLevelEmacsShellRec;
64 extern TopLevelEmacsShellClassRec topLevelEmacsShellClassRec;
66 /****** TransientEmacsShell ******/
68 typedef struct { /* new fields for TransientEmacsShell class */
70 } TransientEmacsShellClassPart;
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;
83 typedef struct { /* new fields for TransientEmacsShell widget */
84 int width_cells, height_cells;
85 int min_width_cells, min_height_cells;
86 } TransientEmacsShellPart;
88 typedef struct _TransientEmacsShellRec { /* full instance record */
90 CompositePart composite;
93 VendorShellPart vendor;
94 TransientShellPart transient;
95 TransientEmacsShellPart emacs_shell;
96 } TransientEmacsShellRec;
99 extern TransientEmacsShellClassRec transientEmacsShellClassRec;
101 #endif /* INCLUDED_EmacsShellP_h_ */