1 /* Copyright (C) 1995 Free Software Foundation, Inc.
2 Copyright (C) 1993-1995 Sun Microsystems, Inc.
3 Copyright (C) 1995 Ben Wing.
5 This file is part of XEmacs.
7 XEmacs is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by the
9 Free Software Foundation; either version 2, or (at your option) any
12 XEmacs is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
17 You should have received a copy of the GNU General Public License
18 along with XEmacs; see the file COPYING. If not, write to
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
22 /* Synched up with: Not in FSF. */
24 /* Written by Ben Wing. */
26 #ifndef INCLUDED_EmacsManagerP_h_
27 #define INCLUDED_EmacsManagerP_h_
30 #include "xintrinsicp.h"
31 #ifdef LWLIB_USES_MOTIF
32 #include "xmmanagerp.h"
34 #include "EmacsManager.h"
36 typedef struct { /* new fields for EmacsManager class */
38 } EmacsManagerClassPart;
40 typedef struct _EmacsManagerClassRec { /* full class record declaration */
41 CoreClassPart core_class;
42 CompositeClassPart composite_class;
43 #ifdef LWLIB_USES_MOTIF
44 ConstraintClassPart constraint_class;
45 XmManagerClassPart manager_class;
47 EmacsManagerClassPart emacs_manager_class;
48 } EmacsManagerClassRec;
50 typedef struct { /* new fields for EmacsManager widget */
51 XtCallbackList resize_callback;
52 XtCallbackList query_geometry_callback;
56 typedef struct _EmacsManagerRec { /* full instance record */
58 CompositePart composite;
59 #ifdef LWLIB_USES_MOTIF
60 ConstraintPart constraint;
61 XmManagerPart manager;
63 EmacsManagerPart emacs_manager;
66 extern EmacsManagerClassRec emacsManagerClassRec; /* class pointer */
68 #endif /* INCLUDED_EmacsManagerP_h_ */