Build improvements
[sxemacs] / src / ui / X11 / EmacsShellP.h
1 /* Emacs shell widget internal header file.
2    Copyright (C) 1994, 1995 Sun Microsystems, Inc.
3
4 This file is part of SXEmacs
5
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.
10
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.
15
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/>. */
18
19
20 /* Synched up with: Not in FSF. */
21
22 /* Written by Ben Wing, May, 1994. */
23
24 #ifndef INCLUDED_EmacsShellP_h_
25 #define INCLUDED_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                          /* INCLUDED_EmacsShellP_h_ */