Merge branch 'merges'
[sxemacs] / src / ui / X11 / EmacsManagerP.h
1 /* Copyright (C) 1995 Free Software Foundation, Inc.
2    Copyright (C) 1993-1995 Sun Microsystems, Inc.
3    Copyright (C) 1995 Ben Wing.
4
5 This file is part of SXEmacs
6
7 SXEmacs is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
11
12 SXEmacs is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program.  If not, see <http://www.gnu.org/licenses/>. */
19
20
21 /* Synched up with: Not in FSF. */
22
23 /* Written by Ben Wing. */
24
25 #ifndef INCLUDED_EmacsManagerP_h_
26 #define INCLUDED_EmacsManagerP_h_
27
28 #include "xintrinsicp.h"
29 #ifdef LWLIB_USES_MOTIF
30 #include "ui/X11/xmmanagerp.h"
31 #endif
32 #include "EmacsManager.h"
33
34 typedef struct {                /* new fields for EmacsManager class */
35         int dummy;
36 } EmacsManagerClassPart;
37
38 typedef struct _EmacsManagerClassRec {  /* full class record declaration */
39         CoreClassPart core_class;
40         CompositeClassPart composite_class;
41 #ifdef LWLIB_USES_MOTIF
42         ConstraintClassPart constraint_class;
43         XmManagerClassPart manager_class;
44 #endif
45         EmacsManagerClassPart emacs_manager_class;
46 } EmacsManagerClassRec;
47
48 typedef struct {                /* new fields for EmacsManager widget */
49         XtCallbackList resize_callback;
50         XtCallbackList query_geometry_callback;
51         XtPointer user_data;
52 } EmacsManagerPart;
53
54 typedef struct _EmacsManagerRec {       /* full instance record */
55         CorePart core;
56         CompositePart composite;
57 #ifdef LWLIB_USES_MOTIF
58         ConstraintPart constraint;
59         XmManagerPart manager;
60 #endif
61         EmacsManagerPart emacs_manager;
62 } EmacsManagerRec;
63
64 extern EmacsManagerClassRec emacsManagerClassRec;       /* class pointer */
65
66 #endif                          /* INCLUDED_EmacsManagerP_h_ */